Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does 'git mergetool' (meld) show conflict markers?

Why does 'git mergetool' (meld) show me the ancestor view WITH conclict markers? This is totally wrong and I've never understood why it does this. How can I fix it?

A 3 way merge should show

[ Your Changes ]          [ Common Base ]            [ Upstream Changes ]

What I get is:

[ My Changes   ]   [ File with Conflict markers ]    [ Upstream changes ]

See: Sample Screenshot

like image 833
Mark Renouf Avatar asked Sep 21 '11 14:09

Mark Renouf


1 Answers

looks like you don't have the parameter names done correctly in the config. You should see things like $BASE, $REMOTE, etc. Make sure these are as specified in the documentation for 'meld'

OR

you have committed, by accident, an unresolved file. To check for this do a git log -S'<<<<<<' and see if anything comes back. If it does, then this is the case.

hope this helps

like image 125
Adam Dymitruk Avatar answered Sep 19 '22 08:09

Adam Dymitruk