No announcement yet.

Unable to do a 3-way merge using BC4 on windows for git

  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to do a 3-way merge using BC4 on windows for git

    I am unable to do a 3 way merge on windows for git files (I was able to do it earlier on BC3 trial version). I now have a BC4 (Version 4.1.3) 64 bit version on my machine. I am running it on Windows 7 and the git version is - git version

    When I type in git mergetool for conflicted files, earlier (with BC3 trial version) it used to show me 3-way merge along with the merged view. Now it just shows a diff between the remote and local file (2-way merge).

    Following is the relevant section of my .gitconfig

    tool = bc3
    [difftool "bc3"]
    cmd = \"c:/program files/beyond compare 4/bcomp.exe\" \"$LOCAL\" \"$REMOTE\"
    tool = bc3
    prompt = false
    [mergetool "bc3"]
    cmd = \"c:/program files/beyond compare 4/bcomp.exe\" \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
    trustExitCode = true

    I have also tried the same config with "bc4" instead of "bc3", but with no success. Can you please let me know what the correct config is?


  • #2

    You will want to follow the directions listed here:

    The key factor being that Git still recognizes the keyword "bc3" even for BC4 installations. Hopefully this will be updated to a more general "bc" in a future release.
    Aaron P Scooter Software