How can I configure KDiff3 on git extension?

Success Man picture Success Man · Oct 14, 2017 · Viewed 15.3k times · Source

When I open my Git extensions, the result is like this:

Enter image description here

I try to repair it. I click the repair button. But that's not action.

I get some reference: Git: How configure KDiff3 as merge tool and diff tool.

I try it like this:

Enter image description here

But it does not work.

How can I solve this problem?

Environment

  • OS: Windows 10 Pro 64-bit
  • Git 2.49

Answer

Anuj picture Anuj · May 8, 2018

Check if KDiff3 is installed and in which folder (to verify the path).

I was also getting the same problem and had run the mentioned Git commands, but it didn't help. Later I realized that my KDiff3 is installed under "Program Files (x86)" folder, not "Program Files".

I have changed the folder name in Git commands, for example:

Instead of

git config --global --add mergetool.kdiff3.path "C:/Program Files/KDiff3/kdiff3.exe"

I used the below and executed it again:

git config --global --add mergetool.kdiff3.path "C:/Program Files (x86)/KDiff3/kdiff3.exe"

And it solved the problem.