Displaying 1 result from an estimated 1 matches for "check_diff".
Did you mean:
check_defs
2009 Jun 04
1
FYI, new git "update" script pushed, not yet installed
...itory." >&2
+ exit 1
+ fi
;;
refs/heads/*,commit)
# branch
+ if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
+ echo "*** Creating a branch is not allowed in this repository" >&2
+ exit 1
+ fi
+
check_diff=yes
branch=${1##refs/heads/}
deny_push_email=$(git config "hooks.denypush.branch.$branch")
@@ -161,7 +181,7 @@ esac
if [ $check_diff = yes ]; then
allow_bad_whitespace=$(git config --bool hooks.allowbadwhitespace)
if [ "$allow_bad_whitespace" != "true" ]; th...