summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/hooks--update3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/hooks--update b/templates/hooks--update
index e8c536fb61..a7cf604dd0 100644
--- 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:"