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 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`