I'm using Beyond Compare 3 and SourceTree 1.10.20.1. I've tried everything I could think of to get SourceTree to use Beyond Compare as the external diff tool to no avail (edit .gticonfig directly, using the Tools|Options|Diff dialog once by selecting Beyond Compare as the external diff tool and once by selecting Custom and entering the commands manually). Below is what SourceTree ads to .gitconfig when I select Beyond Compare:
[difftool "sourcetree"] cmd = 'C:/Program Files (x86)/Beyond Compare 3/BComp.exe' \"$LOCAL\" \"$REMOTE\" [mergetool "sourcetree"] cmd = 'C:/Program Files (x86)/Beyond Compare 3/BComp.exe' \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\" trustExitCode = true
I can't see anything wrong with this, yet Ctrl+D or external Diff does simply nothing.
I had this all working, so what am I missing?
Some initial troubleshooting ideas:
1) Did you install Beyond Compare 3 to that location? My computer has a SSD for C, so I typically install software onto my D drive instead.
2) Have you tried launching Beyond Compare from the command line using that command (replacing the variables with test files)?
3) Have you tried running "git difftool" from the command line? It should use that same config to launch Beyond Compare 3.
4) Is there another diff tool that SourceTree will launch correctly? If so, you might check to see if it escapes characters the same way in the .gitconfig.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.