Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: Question: start mergetool with trivial differences already handled?

From: Jeff King <hidden>
Date: 2016-06-15 22:48:49

On Mon, May 17, 2010 at 03:23:11PM -0700, Uri Okrent wrote:
I haven't found this to be the case.  Is there a merge tool that can
do this?  I had assumed that git used some magic using the project's
history in order to resolve conflicts in a smart way.  Will a merge tool
that only has $THEIRS, $OURS, and $BASE have enough information to
resolve conflicts as smart as git itself does when it produces the
unmerged file in your working tree?
Git uses only $THEIRS, $OURS, and $BASE to do the merge. It doesn't look
at the interim history at all.
quoted
Most of the tools that mergetool supports out-of-the-box perform 3-way
diffs, so I guess I'm curious what merge tool you're using.
I use xxdiff or diffuse (or more frequently, vim ;))
If you're using xxdiff, try "Global > Merge" from the menu (or the
Ctrl-Alt-M shortcut) to have it automatically merge any non-contentious
bits.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help