From: Avery Pennarun <apenwarr@gmail.com>
To: davidb@quicinc.com
Cc: Bryan Donlan <bdonlan@gmail.com>, Git Mailing List <git@vger.kernel.org>
Subject: Re: Dividing up a large merge.
Date: Tue, 14 Jul 2009 21:32:14 -0400 [thread overview]
Message-ID: <32541b130907141832r5217183wc6a0494d6d77bc06@mail.gmail.com> (raw)
In-Reply-To: <20090715011914.GA17100@huya.quicinc.com>
On Tue, Jul 14, 2009 at 9:19 PM, <davidb@quicinc.com> wrote:
> On Tue, Jul 14, 2009 at 05:34:26PM -0700, Avery Pennarun wrote:
>> How about having one person do the merge, then commit it (including
>> conflict markers), then have other people just make a series of
>> commits removing the conflict markers?
>
> I guess this helps in some sense, but the intermediate result
> isn't going to build, and things like mergetool aren't going to
> work. It's helpful for the individuals to have the full merge
> conflict available, or at least the stages of the files in
> question.
It sounds like you're going in circles a bit here. You want the full
merge conflict available - but you want it to be able to build.
It sounds like the "git reset the unwanted subdirs" solution suggested
earlier is the only option that will really work. You could simplify
life for your co-workers by writing a script to automate the steps, I
suppose.
You probably want all the individuals to use merge --squash, so that
you don't mark the history as merged until you're done. Then you
combine all their work at the end and mark the commit as done using
'git merge -s ours'.
Avery
next prev parent reply other threads:[~2009-07-15 1:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-14 23:32 Dividing up a large merge davidb
2009-07-15 0:16 ` Bryan Donlan
2009-07-15 0:29 ` davidb
2009-07-15 0:34 ` Avery Pennarun
2009-07-15 1:19 ` davidb
2009-07-15 1:29 ` Douglas Campos
2009-07-15 1:32 ` Avery Pennarun [this message]
2009-07-15 12:28 ` Theodore Tso
2009-07-15 13:39 ` Jakub Narebski
2009-07-15 16:07 ` Theodore Tso
2009-07-15 14:47 ` Larry D'Anna
2009-07-15 18:57 ` Daniel Barkalow
2009-07-15 21:01 ` davidb
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=32541b130907141832r5217183wc6a0494d6d77bc06@mail.gmail.com \
--to=apenwarr@gmail.com \
--cc=bdonlan@gmail.com \
--cc=davidb@quicinc.com \
--cc=git@vger.kernel.org \
/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).