commit | 04c6e9e9ca34226db095bbaa1218030f99f0b7c6 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Mon Aug 11 22:15:28 2008 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Aug 11 22:15:28 2008 -0700 |
tree | 908b3080f7e373c20805d917bba6c2c2d505da1d | |
parent | 7e4ad908721445b073f3b4ecad55bbd78f032cdc [diff] |
diff --check: do not unconditionally complain about trailing empty lines 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>