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