Displaying 1 result from an estimated 1 matches for "allow_bad_whitespac".
Did you mean:
allow_bad_whitespace
2009 Jun 04
1
FYI, new git "update" script pushed, not yet installed
...uot; ]; 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" ]; then
- test "$oldrev" = 0000000000000000000000000000000000000000 \
+ test "$oldrev" = $zero \
&& exit 0
exec git diff --check $oldrev $newrev --
fi
-...