Displaying 2 results from an estimated 2 matches for "newrev".
Did you mean:
newreq
2009 Jun 04
1
FYI, new git "update" script pushed, not yet installed
...nfig --bool hooks.denycreatebranch)
allowdeletetag=$(git config --bool hooks.allowdeletetag)
+allowmodifytag=$(git config --bool hooks.allowmodifytag)
# check for no description
projectdesc=$(sed -e '1q' "$GIT_DIR/description")
@@ -75,7 +83,8 @@ esac
# --- Check types
# if $newrev is 0000...0000, it's a commit to delete a ref.
-if [ "$newrev" = "0000000000000000000000000000000000000000" ]; then
+zero="0000000000000000000000000000000000000000"
+if [ "$newrev" = "$zero" ]; then
newrev_type=delete
else
newrev_type=$(git...
2009 Sep 22
1
new git hook to be installed
...+# git tag -m 'git config hooks.allowbadwhitespace false' \
+# git-control-$(date +%F-%H-%M-%S.%N) $first_commit
+# ---------------------------------------------------------------------
# --- Command line
refname="$1"
@@ -109,6 +148,26 @@ case "$refname","$newrev_type" in
fi
;;
refs/tags/*,tag)
+ case $refname in
+ refs/tags/git-control-*)
+ cmd=$(git cat-file -p $newrev|tail -n+6)
+ git config hooks.server.config-changing.valid-commands |
+ (while read v_cmd; do
+ if test "x$cmd" = "x$v_cmd"; then...