Displaying 2 results from an estimated 2 matches for "allowmodifytag".
2009 Jun 04
1
FYI, new git "update" script pushed, not yet installed
...m 260c6c70a5b73c3ab7be705ed9da05b9c0b060fa Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Thu, 4 Jun 2009 08:41:01 +0200
Subject: [PATCH release] git-hooks/update: merge two new options from git.git's next branch:
* update: add the two following options:
hooks.allowmodifytag: default: false, i.e., no modifying an existing tag
hooks.denycreatebranch: default: false, i.e., *allow* creating branches
---
git-hook/update | 26 +++++++++++++++++++++++---
1 files changed, 23 insertions(+), 3 deletions(-)
diff --git a/git-hook/update b/git-hook/update
index c82015e..ed76bd...
2009 Sep 22
1
new git hook to be installed
...v_cmd"
+ match=1
+ exit 0 # found a match
+ fi
+ done
+ exit 1 # signal failure to match
+ )
+ if test $? = 1; then
+ echo "*** unrecognized directive: $cmd" >&2
+ exit 1
+ fi
+ ;;
+ esac
# annotated tag
if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
then
--
1.6.5.rc1.220.g6de7f