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

Re: [wishlist] graphical diff

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Mar 18, 2007, 15:06 UTC
Message-ID
<200703181606.20678.robin.rosenberg.lists@dewire.com>
In-Reply-To
<1174223784.5987.6.camel@localhost>
söndag 18 mars 2007 14:16 skrev Raimund Bauer:
Show 12 quoted lines
> I think it would be really helpful (especially for newbies like me) to
> have an option like
> 
> git diff --gui [revisions] <singe path spec>
> 
> to fire up a graphical diff viewer (similar to what git-mergetool does).
> 
> Another good place to start a graphical diff from is probably gitk from
> a context-menu for the changed files in the lower right pane.
> 
> Thoughts?
> 

Fine, except it is not likely to be my favourite gui. But you don't have to wait, you can get a gui easily today.

Pipe the output to another tool. Kompare is such a tool which can take a patch and compare it. It does not have to a single file. You can diff two trees and compare. You'll need at kdesdk version 3.5.5 (or 3.5.6) or the patch in http://bugs.kde.org/show_bug.cgi?id=131717 for kompare to display git diffs.

git diff HEAD^..HEAD | kompare -
As for other gui's I don't know which ones work easily out of the box. 
Eclipse will soon have recursive diff mode for git. Seems to work here, so I'll probably submit it soon). 
-- robin
Previous: Raimund BauerNext: Johannes Schindelin
Message 2 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.