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