diff options
author | Kevin Ballard <kevin@sb.org> | 2010-10-20 22:17:26 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-10-20 23:10:15 (GMT) |
commit | cfd1a9849cdb4b9c7fcd0cb71a28cbdbc3494329 (patch) | |
tree | 7db093285bb283c71812edad1e49942e5b996c03 /tag.c | |
parent | a471833d51b0902d68f9190157bf1421d19a951a (diff) | |
download | git-cfd1a9849cdb4b9c7fcd0cb71a28cbdbc3494329.zip git-cfd1a9849cdb4b9c7fcd0cb71a28cbdbc3494329.tar.gz git-cfd1a9849cdb4b9c7fcd0cb71a28cbdbc3494329.tar.bz2 |
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 'tag.c')
0 files changed, 0 insertions, 0 deletions