git-difftool: full file tree compare using meld?

Andrew Wagner picture Andrew Wagner · Mar 17, 2010 · Viewed 10.9k times · Source

Is there an easy way to compare the file tree of an old git commit with the working file tree, in meld?

git-difftool does something very similar, but I don't want it to actually do any diffing; the whole point is that the tool it is calling can provide a better interface for that.

Answer

Stefan Seemayer picture Stefan Seemayer · May 14, 2014

With git > 1.7.11, the git difftool command now supports diffing complete directories using the --dir-diff command. This can be used together with meld:

$ git difftool --tool=meld --dir-diff [commit-to-diff-against]