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