On Tue, 10 Feb 2009, David Berry wrote:
> Does anyone know of any way of getting a nicely formatted display of
> the differences between two revisions of the same file, like you used
> to get with svnweb? That is, the page split into left and right panes
> with the old file in the left pane and the new file in the right pane?
I use xxdiff (http://furius.ca/xxdiff/) with svn and cvs like this:
cvs update -p file | xxdiff - file
svn diff --diff-cmd xxdiff-wrap file
(where xxdiff-wrap looks like:
#!/bin/sh
shift `echo $# 2 - p | dc`
xxdiff -w $1 $2)
I don't know if (a) there's a better way of doing this in git or
(b) whether it can be made to work with git, but it might be useful.
--
Mark Taylor Astronomical Programmer Physics, Bristol University, UK
[log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
|