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

Re: [wishlist] graphical diff

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 19, 2007, 00:09 UTC
Message-ID
<Pine.LNX.4.63.0703190107410.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<200703190051.46954.robin.rosenberg.lists@dewire.com>
Hi,
On Mon, 19 Mar 2007, Robin Rosenberg wrote:
Show 9 quoted lines
> måndag 19 mars 2007 00:09 skrev Johannes Schindelin:
> 
> > At any rate, have you tried something like "GIT_PAGER='kompare -' git 
> > diff HEAD^..HEAD"?
>
> Doesn't work here. Shows empty diff...
> 
> but AH, that's because of the colored-diff settings. I you have 
> color.diff or color.status set to true neither version will work.

I wonder why we still have "color.diff=true", which is wrong in almost _all_ cases (instead it should be auto).

> With auto the first one will, but not the second.

That is to be expected... Git actually expects the pager to be just that, a pager. So you have to say

$ GIT_PAGER='kompare -' git diff --no-color HEAD^..HEAD

Hth, Dscho

Previous: Robin RosenbergNext: Raimund Bauer
Message 5 of 11 in “[wishlist] graphical diff”
  1. Raimund BauerMar 18, 2007
  2. Robin RosenbergMar 18, 2007
  3. Johannes SchindelinMar 18, 2007
  4. Robin RosenbergMar 18, 2007
  5. Johannes SchindelinMar 19, 2007
  6. Raimund BauerMar 19, 2007
  7. Johannes SchindelinMar 19, 2007
  8. Raimund BauerMar 19, 2007
  9. Johannes SchindelinMar 19, 2007
  10. Raimund BauerMar 19, 2007
  11. Christian MICHONMar 18, 2007

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.