I am using kdiff3 as the default merge tool for git mergetool.
I have a conflict, I launch git mergetool. Kdiff3 is correctly launched with the correct files. I solve all the conflicts in the file. Now the bottom output pane show what I want the file to be. I save.
While I still am in kdiff3, I can see in vim the file is full of diff marking. After saving in Kdiff3, I can reload the file in vim and see it's what I want.
Here is the problem, when I close kdiff3, git says the merge failed and if I reload the file in vim, the conflict markings are back.
What is happening ? What am I doing wrong ?