diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-09-26 13:30:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-09-26 14:07:55 -0700 |
commit | 855726395342441808eff5e4e9ad9a2b9254edbc (patch) | |
tree | feb0bf00d6dbef465854f9b371cca37eeef43434 /tree-diff.c | |
parent | apply --whitespace=warn/error: diagnose blank at EOF (diff) | |
download | tgif-855726395342441808eff5e4e9ad9a2b9254edbc.tar.xz |
apply --whitespace=error: correctly report new blank lines at end
Earlier, 77b15bb (apply --whitespace=warn/error: diagnose blank at EOF,
2009-09-03) cheated by reporting the line number of the hunk that contains
the offending line that adds new blank lines at the end of the file. All
other types of whitespace errors are reported with the line number in the
patch file that has the actual offending text.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree-diff.c')
0 files changed, 0 insertions, 0 deletions