Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 637
Adi Shavit Avatar asked Jul 29 '10 18:07

Adi Shavit


1 Answers

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

like image 80
Olivier Refalo Avatar answered Oct 21 '22 01:10

Olivier Refalo