Code

No diff -b/-w output for all-whitespace changes
authorGreg Bacon <gbacon@dbresearch.net>
Thu, 19 Nov 2009 21:12:24 +0000 (15:12 -0600)
committerJunio C Hamano <gitster@pobox.com>
Sat, 21 Nov 2009 06:00:36 +0000 (22:00 -0800)
commit3e97c7c6af2901cec63bf35fcd43ae3472e24af8
treee71fd65ec0cd0c2b1150f1e48571795a444f1388
parente36e6c00cd60130f8792319a5aa0f56d2da68e14
No diff -b/-w output for all-whitespace changes

Change git-diff's whitespace-ignoring modes to generate
output only if a non-empty patch results, which git-apply
rejects.

Update the tests to look for the new behavior.

Signed-off-by: Greg Bacon <gbacon@dbresearch.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
t/t4015-diff-whitespace.sh