From: William Hubbs <williamh@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
Subject: Re: [gentoo-catalyst] Differences between 2.x and 3.x, future merging
Date: Sat, 25 Jun 2011 14:20:28 -0500 [thread overview]
Message-ID: <20110625192028.GB25328@linux1> (raw)
In-Reply-To: <BANLkTinRPRmyRFm9SvshbYoJ-qi1KCV0HA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2155 bytes --]
On Sat, Jun 25, 2011 at 02:26:33PM -0400, Matt Turner wrote:
> On Sat, Jun 25, 2011 at 2:21 PM, Sebastian Pipping <sping@gentoo.org> wrote:
> > Hello!
> >
> >
> > The current process of copying changes from 2.x to 3.x or vice versa is
> > suboptimal, especially with no recent merge commit around.
> >
> > I would like to start this thread to list and discuss differences
> > between catalyst 2.x and 3.x so we can then decide what needs to be
> > merged in which direction and then have a single branch soon (ideally)
> > or at least two branches with clear and to-the-point diffs.
> >
> > Difference I have noticed (without searching) so far:
> >
> > - Subarch "sh4aeb" is not supported on 3.x but 2.x
> >
> > - Folder ./arch of 2.x is ./modules/catalyst/arch in 3.x
> >
> > Please add any differences you are aware of. Many thanks!
There is a way to add the changes from catalyst_2 to master using git;
it will take someone who knows the code to make it happen, but you can
use rebase like so:
First, make sure that your copy of the repo is up to date and that you
have a branch called catalyst_2 that tracks the catalyst_2 branch. Then
do the following in the repo:
git checkout master
git rebase catalyst_2
Basically, this command will rework the master branch so that it
contains the changes that are only there but not in the catalyst_2
branch. You will have to resolve conflicts, then use git add and git
rebase--continue until that process is complete,.
Once you are done, run "git pull --rebase" to pick up the newest changes
in master, then git push to push everything back to master.
A conflict will look something like:
<<< HEAD
code
from
master
here
==========
code
from
other
branch
here
>>> catalyst_2
and you have to decide which piece of that code, or if it is parts of
both pieces, to keep, and remove the rest of it including the
<<< === and >>> lines.
For more info about how rebase works look at man git-rebase. Also I
learned a lot from http://progit.org/book and http://www.gitready.com.
Who knows the code well enough to do this?
Thanks,
William
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-06-25 19:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-25 18:21 [gentoo-catalyst] Differences between 2.x and 3.x, future merging Sebastian Pipping
2011-06-25 18:26 ` Matt Turner
2011-06-25 19:20 ` William Hubbs [this message]
2011-06-25 20:25 ` William Hubbs
2011-06-25 18:37 ` Raúl Porcel
2011-06-25 18:47 ` Sebastian Pipping
2011-06-26 2:22 ` Matt Turner
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=20110625192028.GB25328@linux1 \
--to=williamh@gentoo.org \
--cc=gentoo-catalyst@lists.gentoo.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