Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 20, 2010
  1. @kballard @gitster

    diff: handle lines containing only whitespace and tabs better

    kballard authored gitster committed
    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>
Something went wrong with that request. Please try again.