align variables
authorkwadronaut <kwadronaut@leap.se>
Wed, 15 Mar 2017 22:27:24 +0000 (23:27 +0100)
committerkwadronaut <kwadronaut@leap.se>
Wed, 15 Mar 2017 22:27:24 +0000 (23:27 +0100)
git/force-signed-commits-hook

index 71941ae..9cd76f4 100644 (file)
@@ -13,12 +13,12 @@ while read oldrev newrev refname; do
   echo $refname $oldrev $newrev
 
   # branch or tag get deleted
-  if [ "$newrev" = "$zero_commit" ]; then
+  if [ "$newrev" = "$commit_Oh" ]; then
     continue
   fi
 
   # Check for new branch or tag
-  if [ "$oldrev" = "$zero_commit" ]; then
+  if [ "$oldrev" = "$commit_Oh" ]; then
     span=`git rev-list $newrev $oldstuff`
   else
     span=`git rev-list $oldrev..$newrev $oldstuff`