I installed an open-source 3-way graphical diff tool called DiffMerge and configured git to use it, and it became obvious what to do (in this case, removing the green portion).
Check out the screenshot below, which shows ours on the left, the common ancestor in the middle, and theirs on the right. It's worth studying what the colors mean (in the DiffMerge preferences).
You should check out p4merge, it's one of the client tools of Perforce, but you can use it standalone (and free) with git:
ReplyDeletegit config --global merge.tool p4merge
# and I recommend
git config --global mergetool.keepBackup false
Ah - interesting. Thanks Benjol!
ReplyDelete