From: David Brown <git@davidb.org>
To: "Björn Steinbrink" <B.Steinbrink@gmx.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>, git@vger.kernel.org
Subject: Re: Cherry picking instead of merges.
Date: Thu, 3 Jul 2008 21:40:32 -0700 [thread overview]
Message-ID: <20080704044032.GA4445@old.davidb.org> (raw)
In-Reply-To: <20080704001003.GA19053@atjola.homenet>
On Fri, Jul 04, 2008 at 02:10:03AM +0200, Björn Steinbrink wrote:
>The other one is merging:
>
> A---B---C---M
> \ /
> D---E---/
>
>Of course, you should end up with the same tree either way. It's just a
>different way of getting towards that final state. So commit E' and
>commit M, while different commits, would point to the same tree object.
Ok. I guess I need to explain a little further. The advice I've gotten is
good, BTW.
After we've resolved the merge and committed it, we've then discovered that
it doesn't work. However, there are around 100 commits on both branches of
the merges and it would be nice to come up with some way of doing something
like a bisect.
The trick is that the branch being merged in doesn't actually work on our
platform, so I can't just test the alternate branch.
But, git-bisect isn't being all that helpful here. The problem is that the
only conflicts we resolved is how the two trees were put together. Picking
points in the middle seem to generate lots of similar, but not quite the
same conflicts.
A cherry-picked tree would allow for an easy bisect, since all of the
intermediary versions would work. If I somehow knew magical points within
the other tree I could do some number of merges and the bisect would still
work. I suppose I could do the merges one at a time, but it would make the
history rather verbose.
Thanks,
David
next prev parent reply other threads:[~2008-07-04 4:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-03 18:26 Cherry picking instead of merges David Brown
2008-07-03 20:13 ` Alex Riesen
2008-07-03 20:15 ` Avery Pennarun
2008-07-03 20:53 ` David Brown
2008-07-03 21:18 ` Samuel Tardieu
2008-07-03 21:18 ` Linus Torvalds
2008-07-03 22:39 ` David Brown
2008-07-04 0:10 ` Björn Steinbrink
2008-07-04 4:40 ` David Brown [this message]
2008-07-04 5:30 ` Linus Torvalds
2008-07-04 6:36 ` Johannes Sixt
2008-07-04 16:47 ` Linus Torvalds
2008-07-04 0:39 ` Linus Torvalds
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=20080704044032.GA4445@old.davidb.org \
--to=git@davidb.org \
--cc=B.Steinbrink@gmx.de \
--cc=git@vger.kernel.org \
--cc=torvalds@linux-foundation.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).