From: Charles Bailey <charles@hashpling.org>
To: Seth House <seth@eseth.com>
Cc: git@vger.kernel.org
Subject: Re: Conflict markers in mergetool $LOCAL ?
Date: Tue, 17 Aug 2010 22:24:25 +0100 [thread overview]
Message-ID: <4C6AFE09.5020302@hashpling.org> (raw)
In-Reply-To: <loom.20100817T230158-934@post.gmane.org>
On 17/08/2010 22:04, Seth House wrote:
> Jacob Helwig<jacob.helwig<at> gmail.com> writes:
>> That actually looks exactly like it should. The order of the windows
>> that vimdiff uses is (IIRC): ours, on-disk file, theirs.
>
> Hm, you’re right. I just found the git-mergetool--lib script on my
> system and it opens vimdiff with $LOCAL $MERGED $REMOTE. Thank you, that
> opened my eyes enough to clarify my question:
>
> The conflict markers don't seem very useful in the context of a merge
> tool. I would prefer to see two windows in vimdiff with each side of the
> conflict, respectively. Something like:
>
> vimdiff $MERGED-left-hand-conflicts $MERGED-right-hand-conflicts
>
> Is that possible with Git -- or does anyone know of external tools to
> help with such a workflow?
I think that your problem is mainly with vimdiff, not with mergetool. Or
perhaps the way they interact. Although I'm a heavy vim user I don't
really get on with vimdiff as a merge tool. Most 3-way merge tools use
BASE, LOCAL and REMOTE to allow a good semi-automatic conflict
resolution to be performed. vimdiff is used by mergetool as a two-way
diff tool with an extra edit pane; it's not quite the same thing.
The conflict markers have been but into the target file by merge before
mergetool even starts and mergetool considers the target file to be an
output only.
I personally have used and would recommend kdiff3 and the Perforce
visual merge tool with git. Can I suggest you try a different mergetool
to see if you works better for you?
Charles.
next prev parent reply other threads:[~2010-08-17 21:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-17 4:34 Conflict markers in mergetool $LOCAL ? Seth House
2010-08-17 9:30 ` David Aguilar
2010-08-17 9:32 ` David Aguilar
2010-08-17 17:08 ` Seth House
2010-08-17 18:00 ` Jacob Helwig
2010-08-17 21:04 ` Seth House
2010-08-17 21:24 ` Charles Bailey [this message]
2010-08-18 3:22 ` Seth House
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C6AFE09.5020302@hashpling.org \
--to=charles@hashpling.org \
--cc=git@vger.kernel.org \
--cc=seth@eseth.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).