Thread (2 messages) 2 messages, 2 authors, 2016-06-15

Re: Problem resolving an octopus merge conflict

flat view

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:16

"Sean" [off-list ref] writes:
After fixing this up though, git-commit won't see this as a merge commit
and won't add the proper parent linkages.   I'm not sure at this point
what the proper fix should be or if this is just pilot error.
Not a pilot error, and we do not make it explicit enough, but
git-merge-octopus has this comment:

	echo "Simple merge did not work, trying automatic merge."
	git-merge-index -o git-merge-one-file -a ||
	exit 2 ; # Automatic merge failed; should not be doing Octopus

If you need to manually fix up such a merge, that is a sure sign
that the branches you merged into an Octopus was not independent
bunches after all.  Letting such a commit to be made defeats the
point of an Octopus, which is to bundle independent tracks of
development.

This is more philosophical rather than technical, and may look
being unhelpful to you (who wanted to create an Octopus), but is
done to help people who later needs to deal with such a merge
history.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help