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

RE: [wishlist] graphical diff

From
RBRaimund Bauer <ray007@gmx.net>
Date
Mar 19, 2007, 16:44 UTC
Message-ID
<1174322644.5639.17.camel@localhost>
In-Reply-To
<Pine.LNX.4.63.0703191359380.22628@wbgn013.biozentrum.uni-wuerzburg.de>
Hi,
On Mon, 2007-03-19 at 14:00 +0100, Johannes Schindelin wrote:
Show 9 quoted lines
> > Maybe with a git.gui config option (like merge.tool)?
> > Or by specifying on the commandline:
> > 
> > git diff --gui=<my-gui-differ> ...
> > 
> > And <my-gui-differ> = xxdiff | kompare | tkdiff | ...
> 
> Have you actually looked at the patch I sent? It is more logical to say 
> "git -p=<bla> diff ..." when the option "-p" (without "=") already exists.

I have, and I can't see your patch doing what I want. Sorry if I haven't made myself clear what I want, but I was thinking about a shortcut for something like the following example sequence:

$ git show v1.4.0:git.c > git.c.v1.4.0 $ git show v1.4.4:git.c > git.c.v1.4.4 $ tkdiff git.c.v1.4.0 git.c.v1.4.4 $ rm git.c.v1.4.0 git.c.v1.4.4

Replace tkdiff with the differ of your choice.

At least for comparing 2 single blobs that behavior should be well defined. For comparing multiple blobs, checking them out in 2 separate directories and starting the differ with the directories could work, but I'm more after the single-file case for now ... and that's also the one that should be easy to start from gitk.

If there's a way to do that by setting the pager I'll be happy to do so ;-)

> Ciao,
> Dscho
-- 
best regards

  Ray
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 8 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.