From: Junio C Hamano <junkio@cox.net>
To: "Sean" <seanlkml@sympatico.ca>
Cc: git@vger.kernel.org
Subject: Re: Problem resolving an octopus merge conflict
Date: Wed, 11 Jan 2006 00:33:32 -0800 [thread overview]
Message-ID: <7virsrupsz.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: BAYC1-PASMTP1241F00474C3FC5C32F7A6AE240@CEZ.ICE
"Sean" <seanlkml@sympatico.ca> 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.
prev parent reply other threads:[~2006-01-11 8:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <57422.10.10.10.28.1136962271.squirrel@linux1>
2006-01-11 6:51 ` Problem resolving an octopus merge conflict Sean
2006-01-11 8:33 ` Junio C Hamano [this message]
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=7virsrupsz.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
--cc=seanlkml@sympatico.ca \
/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