search for: newrev_typ

Displaying 2 results from an estimated 2 matches for "newrev_typ".

Did you mean: newrev_type
2009 Jun 04
1
FYI, new git "update" script pushed, not yet installed
...,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 cat-file -t $newrev) @@ -101,9 +110,20 @@ case "$refname","$newrev_type" in ;; refs/tags/*,tag) # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + the...
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 +...