From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Brian Foster <brian.foster@innova-card.com>
Cc: git mailing list <git@vger.kernel.org>
Subject: Re: [Q] merging from one (kernel) stable to another?
Date: Mon, 30 Mar 2009 20:23:45 +0200 [thread overview]
Message-ID: <20090330182345.GC10030@pengutronix.de> (raw)
In-Reply-To: <200903301024.08848.brian.foster@innova-card.com>
On Mon, Mar 30, 2009 at 10:24:08AM +0200, Brian Foster wrote:
> Whilst this question involves linux(-mips) kernel tree,
> it's a git(-related?) question, not a kernel question ....
>
> We are currently in the process of upgrading our embedded
> system from kernel 2.6.21(-ish) to at least 2.6.26.8; and
> later, at some time in the future on to 2.6.3x or something.
> Going from 2.6.21 to .22 to .23 and so on to .26, then to
> .26.1 and so on to .26.8 is “easy” in the sense there are
> very few conflicts with our existing baseline (e.g., just
> 2 or 3 in 2 or 3 files).
>
> .21 --> me --> .22 --> .23 ... --> .26 --> .27 --> master
> \ \ \ \ \
> .21-stable .22-stable .23-stable \ .27-stable
> .26.8
> \
> .26-stable
>
> But (using 2.6.21-stable and 2.6.22-stable as proxies),
> tests indicate that going from .26.8 to .27 or anything
> later will have numerous conflicts (100s? in more than
> 30 files). Thinking about it, this isn't too surprising
> since the -stable branches cherry-pick important/benign
> fixes from later revisions.
Assuming you have your master on top of .21-stable and want to go to
.26-stable, the following might work better for you:
$ git checkout -b mydot26stable .26-stable
$ git merge -s ours .21-stable
$ git checkout master
$ git merge mydot26stable
Note this is not tested, just came to my mind...
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
prev parent reply other threads:[~2009-03-30 18:30 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-30 8:24 [Q] merging from one (kernel) stable to another? Brian Foster
2009-03-30 9:33 ` Andreas Ericsson
2009-03-30 10:38 ` Johannes Sixt
2009-03-30 11:58 ` Brian Foster
2009-03-30 12:19 ` Johannes Sixt
2009-03-30 12:40 ` Brian Foster
2009-03-30 12:19 ` Andreas Ericsson
2009-03-30 12:51 ` Brian Foster
2009-03-30 13:52 ` Andreas Ericsson
2009-03-30 15:20 ` Ping Yin
2009-03-31 4:20 ` Kris Shannon
2009-03-30 17:31 ` Daniel Barkalow
2009-03-31 7:30 ` Brian Foster
2009-03-30 18:23 ` Uwe Kleine-König [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=20090330182345.GC10030@pengutronix.de \
--to=u.kleine-koenig@pengutronix.de \
--cc=brian.foster@innova-card.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.