]> git.ipfire.org Git - thirdparty/git.git/commit - builtin-apply.c
git-apply: war on whitespace -- finishing touches.
authorJunio C Hamano <junkio@cox.net>
Tue, 28 Feb 2006 09:12:52 +0000 (01:12 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 28 Feb 2006 09:12:52 +0000 (01:12 -0800)
commitf21d6726150ec4219e94ea605f27a4cd58eb3d99
tree874f98e7d640871a3c50f24873f0da5b1c9bb9a2
parent621603b76afe00471613ce92b78376fc57f21234
git-apply: war on whitespace -- finishing touches.

This changes the default --whitespace policy to nowarn when we
are only getting --stat, --summary etc. IOW when not applying
the patch.  When applying the patch, the default is warn (spit
out warning message but apply the patch).

Signed-off-by: Junio C Hamano <junkio@cox.net>
apply.c