Adi Shavit Adi Shavit - 1 year ago 108
Git Question

Getting Beyond Compare to Diff 2 Branches Simultaneously

>>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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download