I have a few tens of files that Git has added merge-conflict markers to, yet Git does not acknowledge that there is a merge conflict and will not open the mergetool:
1 <<<<<<< HEAD
2 <?php
3 require_once('../auth_header.php');
4 require_once($_SERVER['DOCUMENT_ROOT'].'/init.php');
5
6 =======
7 <?
8 require '../auth_header.php';
9
10 >>>>>>> development
$ git mergetool
No files need merging
I'm now editing those files by hand. Is there any way to use a proper merge-conflict tool with a file that is formatted as above? I don't necessarily need comparison with the BASE file, just a way to diff and select the two 'sides' of files as that shown above without manually erasing sections and markers. I would of course prefer to stay in VIM.
All merge-conflict tools that I've tried, such as kdiff3
need two files to diff. They do not seem to support merge-conflict markers.