git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Showing whitespace on minus lines of diff ouput

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 5, 2010, 03:03 UTC
Message-ID
<7veil0o02z.fsf@alter.siamese.dyndns.org>
In-Reply-To
<76718491002041747t327bf2f5l85e095244f6ee1ed@mail.gmail.com>
Jay Soffian <jaysoffian@gmail.com> writes:
Show 9 quoted lines
> The colored diff output is quite helpful to show introductions of whitespace.
>
> However, if whitespace has been removed, it's impossible to see in the
> diff output since whitespace is colorized on '+' lines, but not '-'
> lines.
>
> I'm looking at diff.c, but wow. Can someone more familiar with this
> file point me toward how I'd make a patch to colorize whitespace on
> '-' lines as well?
Totally uninterested.  "diff -R" would be enough, wouldn't it?
Previous: Jay SoffianNext: Jay Soffian
Message 4 of 7 in “Showing whitespace on minus lines of diff ouput”
  1. Jay SoffianFeb 5, 2010
  2. Jay SoffianFeb 5, 2010
  3. Jay SoffianFeb 5, 2010
  4. Junio C HamanoFeb 5, 2010
  5. Jay SoffianFeb 5, 2010
  6. Junio C HamanoFeb 5, 2010
  7. Jay SoffianFeb 5, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.