Getting Beyond Compare to Diff 2 Branches Simultaneously

Adi Shavit picture Adi Shavit · Jul 29, 2010 · Viewed 8.3k times · Source

>>git difftool branch1 branch2 opens my difftool (Beyond Compare:BC) with every file that has a diff between the branches. I have to close BC after each file just for it to reopen with the next file.

BC can diff whole directories and multiple files.

Is there a way to get git difftool to open all files simultaneously, or diff the whole tree simultaneously?

Answer

Olivier Refalo picture Olivier Refalo · May 24, 2011

Starting with git v1.7.11, you can use git difftool --dir-diff to perform a directory diff.

The answer that follows applies to git installations older than v1.7.11.


This issue is not related to BC, but to the way git works. Fortunately, there is a solution at this URL - git-diffall