From 8cab4500cfaa429ff10bfe3124e61eb23d6a3987 Mon Sep 17 00:00:00 2001 From: kwadronaut Date: Wed, 15 Mar 2017 23:27:24 +0100 Subject: align variables --- git/force-signed-commits-hook | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git/force-signed-commits-hook b/git/force-signed-commits-hook index 71941ae..9cd76f4 100644 --- a/git/force-signed-commits-hook +++ b/git/force-signed-commits-hook @@ -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` -- cgit v1.2.3