summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/force-signed-commits-hook4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/force-signed-commits-hook b/git/force-signed-commits-hook
index f884399..71941ae 100644
--- a/git/force-signed-commits-hook
+++ b/git/force-signed-commits-hook
@@ -19,9 +19,9 @@ while read oldrev newrev refname; do
# Check for new branch or tag
if [ "$oldrev" = "$zero_commit" ]; then
- span=`git rev-list $newrev $excludeExisting`
+ span=`git rev-list $newrev $oldstuff`
else
- span=`git rev-list $oldrev..$newrev $excludeExisting`
+ span=`git rev-list $oldrev..$newrev $oldstuff`
fi
for COMMIT in $span;