If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Git error when trying to diff with Beyond Compare 4

03-Oct-2014, 02:00 PM

Hi Mr. or Mrs,

Today, I install the Beyond compare tool for windows, and I follow the installation notes for Git (My Git version is: 1.9.4)
When I am trying to do a “git difftool file” command it gives me the following error message:

Comment

I have installed github for windows, but I mainly use the command line. Github for windows installs Git Shell. This is what I mainly use, and its version is a par with the latest git shell 1.9.4
My GitHub for Windows version is 2.4.1.2

Thanks,
E.

Comment

The Git for Windows instructions that Aaron linked to earlier work with the current version of Git for Windows, which displays the version as 1.9.4.msysgit.2 when you run "git --version" at the command line.

The version of Git bundled with GitHub for Windows uses a different configuration than Git for Windows, so the instructions on our page will not work with it. I'm researching configuration instructions for GitHub for Windows. I'll make a followup post if I find a solution.

Comment

Thanks. "bc3" is a keyword that Git recognizes and then can properly call bcomp.exe as a difftool. It does not appear that "bc4" support has been added, but since we haven't changed our command line from BC3 to BC4, I found this worked for the latest release.

Thanks. "bc3" is a keyword that Git recognizes and then can properly call bcomp.exe as a difftool. It does not appear that "bc4" support has been added, but since we haven't changed our command line from BC3 to BC4, I found this worked for the latest release.

Comment

BC4.1 added 64bit support. The 32bit install is located in x86, and if that version is updated to 64bit it remains in the same directory, similar to other programs which update in place without requiring an Uninstall.

If 4.0 is uninstalled first, or a fresh 4.1 install, it will place the 64bit version in Program Files\.

Comment

For people with fresh recent (2017) installs of BC4 and Git on Windows (64-bit BC4, no 32-bit BC4, Windows Git 2.10.0+) instructions listed here in the site work fine for me with one big caveat: I had to run them from a directory other than my git project directory (wasted a lot of time unfortunately cleaning the config files retrying etc.); run these from another place such as your home directory (wherever you don't have a git project),