summaryrefslogtreecommitdiff
path: root/t/t4107-apply-ignore-whitespace.sh
diff options
context:
space:
mode:
authorLibravatar Kevin Ballard <kevin@sb.org>2010-10-20 15:17:26 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-10-20 16:10:15 -0700
commitcfd1a9849cdb4b9c7fcd0cb71a28cbdbc3494329 (patch)
tree7db093285bb283c71812edad1e49942e5b996c03 /t/t4107-apply-ignore-whitespace.sh
parenttest-lib: extend test_decode_color to handle more color codes (diff)
downloadtgif-cfd1a9849cdb4b9c7fcd0cb71a28cbdbc3494329.tar.xz
diff: handle lines containing only whitespace and tabs better
When a line contains nothing but whitespace with at least one tab and the core.whitespace config option contains blank-at-eol, the whitespace on the line is being printed twice, once unhighlighted (unless otherwise matched by one of the other core.whitespace values), and a second time highlighted for blank-at-eol. Update the leading indentation check to stop checking when it reaches the trailing whitespace. Signed-off-by: Kevin Ballard <kevin@sb.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4107-apply-ignore-whitespace.sh')
0 files changed, 0 insertions, 0 deletions