Beyond Compare showing error File Not Found from Temp folder

220 views Asked by At

I have SourceTree installed.

And have set up Beyond Compare as Diff tool.

When I click on a changed file in the Unstaged Files section, and press Ctrl+D. Which launches Beyond Compare.

It shows the difference perfectly.

But when I repeat the above steps for another file, I see error like below for the old version of file:

enter image description here

Workaround: I close the Beyond Compare and then press Ctrl+D on file in SourceTree, It works fine.

I tried changing the executable to BComp.exe in SourceTree Options. But that also did not resolve the issue. Please let me know any possible solution for this.

1

There are 1 answers

3
Chris Kennedy On

Some versions of SourceTree broke built-in Beyond Compare integration. Editing your .gitconfig file might fix the problem.

  1. Go into: C:\Program Files\Git\mingw64\etc

  2. Edit the gitconfig file and add

    [difftool "sourcetree"]
    cmd = 'C:/Program Files/Beyond Compare 4/bcomp.exe' $LOCAL $REMOTE
    

Reference: Using Beyond Compare with Version Control Systems - SourceTree