I've recently switched to using Beyond Compare as my git difftool/mergetool on OSX. It works fine when Beyond Compare is not already running - git difftool A B
works as expected with A appearing in the left pane and B appearing in the right pane.
However, if a Beyond Compare session is already open, the same command results in the left page displaying /Applications/Beyond Compare.app/Contents/Info.plist
and the right pane being blank. This is pretty annoying as I have to quit BC entirely in order for the next difftool session to work correctly and I'm also using BC as an SFTP client to sync files with a remote server.
I'm using Beyond Compare 4.1.2, git 2.6.3, OSX 10.11
The relevant section of my ~/.gitconfig (taken from Scooter Software):
[diff]
tool = bcomp
[difftool]
prompt = false
[difftool "bcomp"]
trustExitCode = true
cmd = "/usr/local/bin/bcomp" "$LOCAL" "$REMOTE"
[merge]
tool = bcomp
[mergetool]
prompt = false
keepBackup = false
[mergetool "bcomp"]
trustExitCode = true
cmd = "/usr/local/bin/bcomp" "$LOCAL" "$REMOTE" "$BASE" "$MERGED"
where /usr/local/bin/bcomp -> /Applications/Beyond Compare.app/Contents/MacOS/bcomp
Can anyone suggest a solution?