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

Re: [PATCH] Revert "git gui: show diffs with a minimum of 1 context line"

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
May 24, 2009, 10:01 UTC
Message-ID
<200905241201.04297.markus.heidelberg@web.de>
In-Reply-To
<20090523231605.GA4522@localhost>
Clemens Buchacher, 24.05.2009:
Show 7 quoted lines
> On Sat, May 23, 2009 at 07:28:47PM +0200, Markus Heidelberg wrote:
> > Diffs without context can actually be useful. Depending on the changes
> > it can be less distracting to read them or to get an overview.
> 
> Maybe so. But as stated in the commit message of 55ba8a3 (git gui: show
> diffs with a minimum of 1 context line) context-less diff was disabled
> because it caused bugs with staging.

It wasn't clear to me that there were bugs. I thought it just "does not work" in some way, but should have tried it at least. Now I see.

> However, I never got around to fix the
> real cause of the problem. See the original thread at
> 
> http://article.gmane.org/gmane.comp.version-control.git/94387

Thanks for the link. After reading this discussion I also see that disabling staging with zero context is not a user-friendly solution.

Markus
Previous: Clemens Buchacher
Message 3 of 3 in “Revert "git gui: show diffs with a minimum of 1 context line"”
  1. Revert "git gui: show diffs with a minimum of 1 context line"Markus Heidelberg, May 23, 2009
  2. Clemens BuchacherMay 23, 2009
  3. Markus HeidelbergMay 24, 2009

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.