Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Only show log entries for new revisions in hooks--update
[gitweb.git]
/
templates
/
hooks--update
diff --git
a/templates/hooks--update
b/templates/hooks--update
index e8c536fb616d9fe93fe50edf4bc862b58ad6af1b..a7cf604dd0ee465ad3d8a874f105fe45c9e7c6e7 100644
(file)
--- a/
templates/hooks--update
+++ b/
templates/hooks--update
@@
-190,7
+190,8
@@
case "$refname_type" in
fi
echo ""
echo $LOGBEGIN
- git-rev-list --pretty $newrev ^$baserev
+ git-rev-parse --not --all |
+ git-rev-list --stdin --pretty $newrev ^$baserev
echo $LOGEND
echo ""
echo "Diffstat:"