git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question: start mergetool with trivial differences already handled?
@ 2010-05-17 20:47 Uri Okrent
  2010-05-17 22:07 ` Jay Soffian
  0 siblings, 1 reply; 4+ messages in thread
From: Uri Okrent @ 2010-05-17 20:47 UTC (permalink / raw)
  To: The Git Mailing List

Hey all, just wondering if this is possible (as things stand, I don't
think it is).

Basically, I'd like to be able to fire up merge tool with all the trivial
merges already taken care of (since git is better than I am at resolving the
trivial ones anyway).

The way I understand it, mergetool populates the merge tool with the base
file (file from the common ancestor), file from ours, and file from theirs.
So, when I pull up mergetool, I see all the differences in between ours and
theirs, even if git knows how to resolve many of those.  What I always end up
doing instead is just running vi on the unmerged path in my repo since that
way I only see the actual conflicts (those marked with conflict markers).

The net effect is that I almost never use mergetool, even though I would
like to.

Do the various diff tools out there understand the conflict marker syntax? It
would be nice to be able to just tell mergetool to visually display the
"unmerged" version of the path that git dumps in your working tree.  Ideally,
it would be able to show ours and theirs, with all the trivial differences
pre-selected as git itself would have resolved them, but that seems more pie-
in-the-sky, and a lot harder to do.

Thanks!
--
  Uri

Please consider the environment before printing this message.
http://www.panda.org/how_you_can_help/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-17 22:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-17 20:47 Question: start mergetool with trivial differences already handled? Uri Okrent
2010-05-17 22:07 ` Jay Soffian
2010-05-17 22:23   ` Uri Okrent
2010-05-17 22:41     ` Jeff King

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).