Code

Teach "diff --check" about new blank lines at end
authorJunio C Hamano <gitster@pobox.com>
Thu, 26 Jun 2008 22:36:59 +0000 (15:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 27 Jun 2008 05:07:26 +0000 (22:07 -0700)
commit877f23ccb88227203f2576abdfb5d1c15925fcb3
tree6d54619f825b9e489f90928f9f7af670cc0a4cb8
parent1ba111d1d6bd90b2c120ceb05418e01ee304cc46
Teach "diff --check" about new blank lines at end

When a patch adds new blank lines at the end, "git apply --whitespace"
warns.  This teaches "diff --check" to do the same.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h
diff.c
t/t4015-diff-whitespace.sh
ws.c