diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-09-03 22:30:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-09-04 11:50:26 -0700 |
commit | 5b5061efd88e1d113a4484369dfab654b43364de (patch) | |
tree | 3acca65370698604617c2d771c6512d16820d84e /t/aggregate-results.sh | |
parent | diff.c: the builtin_diff() deals with only two-file comparison (diff) | |
download | tgif-5b5061efd88e1d113a4484369dfab654b43364de.tar.xz |
diff --whitespace=warn/error: obey blank-at-eof
The "diff --check" code used to conflate trailing-space whitespace error
class with this, but now we have a proper separate error class, we should
check it under blank-at-eof, not trailing-space.
The whitespace error is not about _having_ blank lines at end, but about
adding _new_ blank lines. To keep the message consistent with what is
given by "git apply", call whitespace_error_string() to generate it,
instead of using a hardcoded custom message.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/aggregate-results.sh')
0 files changed, 0 insertions, 0 deletions