12

When I open Git Extensions, the result is like this:

Enter image description here

I try to repair it. I click the repair button. But there isn't any action.

I get some reference: Git: How can I configure KDiff3 as a 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
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
moses toh
  • 12,344
  • 71
  • 243
  • 443
  • are you getting any error – RJ- Oct 14 '17 at 10:02
  • @RJ, No. There is no error. Like the image above – moses toh Oct 14 '17 at 10:08
  • for me looks like the link you have shared has everything you need. Have you checked your path variables mentioned in that previous question. have you got 64 bit version of KDiff extension ? – RJ- Oct 14 '17 at 10:15
  • @RJ, No. I don't have KDiff3 folder – moses toh Oct 14 '17 at 10:17
  • can you just make sure you have installed the correct version of Kdiff and added to your path variables? – RJ- Oct 14 '17 at 10:20
  • @RJ, Seems I have not install KDiff3. Do I need to reinstall git extensions? Or there can only install KDiff3? – moses toh Oct 14 '17 at 10:27
  • Let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/156725/discussion-between-rj-and-success-man). – RJ- Oct 14 '17 at 10:33

2 Answers2

12

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.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Anuj
  • 121
  • 1
  • 5
  • so strange, i needed the exact reverse. I ended up reinstalling KDiff3 and manually changed the install path to "Program Files (x86)", once finished I hit repair in gitextensions and it worked this time. – Darrow7456 Oct 16 '19 at 13:40
2

I'm guessing you have downloaded the light version of the installer which doesn't include KDiff3.

Please download and install the complete installer from https://github.com/gitextensions/gitextensions/releases/latest.

You can also just download and install KDiff3 yourself. We bundle and ship the version 0.9.97, which you can download from here: https://sourceforge.net/projects/kdiff3/files/kdiff3/0.9.97/

Besides, you can install any other diffmerge tool too and configure Git Extensions to use that. For instance, I don't like KDiff3 and use Perforce's P4Merge instead.

BTW, your version is outdated. The current version is 2.50.02 (as of November 2017).

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
RussKie
  • 1,630
  • 11
  • 20
  • 9
    As of version 2.51.02, `Git` and `Kdiff` are not included in the installer. You should install them manually. – Wrong Nov 08 '18 at 13:09
  • Yes, though 2.51.02 was release in May '18, and the question was posted well before it. – RussKie Nov 10 '18 at 01:31
  • 6
    My comment was just a notification for future viewers of the question/answer :) – Wrong Nov 12 '18 at 16:00