War on whitespace
This uses "git-apply --whitespace=strip" to fix whitespace errors that have crept in to our source files over time. There are a few files that need to have trailing whitespaces (most notably, test vectors). The results still passes the test, and build result in Documentation/ area is unchanged. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
@ -19,4 +19,3 @@ test "" = "$(grep '^Signed-off-by: ' "$1" |
|
||||
echo >&2 Duplicate Signed-off-by lines.
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
@ -14,4 +14,3 @@
|
||||
|
||||
|
||||
#. /usr/share/doc/git-core/contrib/hooks/post-receive-email
|
||||
|
||||
|
@ -12,4 +12,3 @@
|
||||
test -x "$GIT_DIR/hooks/pre-commit" &&
|
||||
exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"}
|
||||
:
|
||||
|
||||
|
@ -68,4 +68,3 @@ perl -e '
|
||||
}
|
||||
exit($found_bad);
|
||||
'
|
||||
|
||||
|
Reference in New Issue
Block a user