views:

120

answers:

2

After a merge failed with some conflicts I can list those with git diff, but git difftool won't display them with the difftool set in the config(in my case Kaleidoscope), instead it will just use normal diff.

A git difftool comparing with a previous commit will work.

Is there a way to use git difftool on merge conflicts?

Greets Jan

+2  A: 

Try git mergetool.

3lectrologos
Mergetool will start an visual merging attempt e.g another app, I simply want a diff off the 2 conflicting files, the problem is that although `git difftool refA refB` normaly works, a `git diff` and `git diftool` will do the same in this case.
ticking
+1  A: 

Firstly try:

git difftool -t <yourtool>

If that doesn't work, look at man git-difftool and check the list of supported tools. Check if one of those does what you want, if it does then you've narrowed it down to git not supporting Kaleidoscope, which may need some other config tweaking.

Amoss
I already configured it and `git difftool refA refB` works fine, what I want to do is use difftool when a merge failed do display the differences in the conflict files, git `diff defaults` works at this point but using difftool does the same as diff. It doesn't start kaleidoscope but it uses diff too.
ticking
In that case I would agree with 3lectrologos. I normally do this with git mergetool.
Amoss