use variables that are assigned in force-signed
[scripts.git] / git / force-signed-commits-hook
index f884399..71941ae 100644 (file)
@@ -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;