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

Re: request for enhancement: gitk highlight whitespace

From
OKOliver Kullmann <o.kullmann@swansea.ac.uk>
Date
Mar 26, 2010, 16:21 UTC
Message-ID
<20100326162125.GM19793@cs-wsok.swansea.ac.uk>
In-Reply-To
<201003261519.18095.sbraun@emlix.com>

Yeah, that would be good. Don't know whether it has something to do with a change in Git (I'm using 1.7.0.1), but recently I got quite a few submissions where gitk shows lines as changed, but I couldn't find out what it was.

A general option to show explicitly the change would be a good thing.

Oliver

P.S. This would also be helpful for long lines (yet it's a pain with gitk to find out where the change is).

On Fri, Mar 26, 2010 at 03:19:17PM +0100, Simon Braunschmidt wrote:
Show 22 quoted lines
> Hi
> 
> It would be great if I could teach gitk to better highlight 
> whitespace changes in the diff view.
> 
> Every once in a while (and again today) I have to review 
> patches that "fix whitespace". Allthough the fixes are usually 
> trivial, I have to check them, which is not trivial with the gitk 
> display. Also I often mistakenly accept changes after 
> review with gitk that turn out to contain a mix of 
> tabs/whitespace etc. 
> 
> I searched the mailinglist (for gitk whitespace) and asked on irc, yet 
> nobody seemed to care so far.
> 
> What do you think about it?
> 
> Regards,Gruessle
> Simon
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
Previous: Simon Braunschmidt
Message 2 of 2 in “request for enhancement: gitk highlight whitespace”
  1. Simon BraunschmidtMar 26, 2010
  2. Oliver KullmannMar 26, 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.