diff --check: do not unconditionally complain about trailing empty lines
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Aug 2008 05:15:28 +0000 (22:15 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Aug 2008 05:15:28 +0000 (22:15 -0700)
Recently "git diff --check" learned to detect new trailing blank lines
just like "git apply --whitespace" does. However this check should not
trigger unconditionally. This patch makes it honor the whitespace
settings from core.whitespace and gitattributes.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found