Print

Print


On Thu, 12 Feb 2009, Malcolm J. Currie wrote:

> >>  Making git use an external diff viewer looks like a bit of a fight.
> >>  Seems like it can be done though, given time...
> >
> > It's fairly straight-forward. Put the attached script somewhere on your PATH,
> > chmod +x it and then define GIT_EXTERNAL_DIFF to point at it.
>
> Splendid.  Thanks Peter.  The trick is knowing which arguments to pass
> to the visual differences tool.  I substituted xxdiff for meld and it
> works but only differences one object.

If you close xxdiff down it will be restarted with further files showing
diffs, at least that's how it works for me and meld.

I guess since you don't have the external preferences part of gitk, it
must be out-of-date. Note gitk is often in it's own package.

Peter.