diff options
author | kwadronaut <kwadronaut@leap.se> | 2017-03-15 23:27:24 +0100 |
---|---|---|
committer | kwadronaut <kwadronaut@leap.se> | 2017-03-15 23:27:24 +0100 |
commit | 8cab4500cfaa429ff10bfe3124e61eb23d6a3987 (patch) | |
tree | 166694baa9b35b030c3e771bb403696746bfaeeb | |
parent | 1d45920d26c21e6223d7767898c3a26e519d5584 (diff) |
align variables
-rw-r--r-- | git/force-signed-commits-hook | 4 |
1 files 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` |