From: Felipe Balbi <me@felipebalbi.com>
To: Linux-OMAP List <linux-omap@vger.kernel.org>
Subject: Re: using git with linux-omap
Date: Thu, 25 Dec 2008 21:55:03 +0200 [thread overview]
Message-ID: <20081225195450.GF10240@frodo> (raw)
In-Reply-To: <20081225004631.GH4080@swansys>
On Wed, Dec 24, 2008 at 06:46:31PM -0600, green wrote:
> On Wed, 2008.12.24, 359, Felipe Balbi wrote:
> > On Tue, Dec 23, 2008 at 09:24:19PM -0600, green wrote:
> > > I have cloned linux-omap-2.6 and created a local branch. In the local branch I
> > > have made one very simple commit with a single line change to Makefile for use
> > > when cross-compiling (arm-linux-gnueabi-). I would like to be able to rebase
> > > that branch (just the 1 commit) onto any commit in the master branch so that I
> > > can test N810 builds using git-bisect without modifying the Makefile every
> > > time. I can easily move the branch forward to the latest commit with 'git
> > > rebase master' (with the local branch active) but something like 'git rebase
> > > v2.6.27-omap1' returns merge errors. Of course that 1 commit will apply easily
> > > to that specific tree.
> >
> > hmmm, something like git rebase --onto HEAD v2.6.27-omap1 <your_branch>
> > should work.
>
> I got a bunch of merge conflicts this way.
maybe I got the parameters wrong. git help rebase will have the correct
answer. But there are two other easier ways to do it:
a. with git cherry-pick:
$ git checkout -b newbranch v2.6.27-omap1
$ git cherry-pick <commit id for your Makefile change>
b. symlink: just create a symbolic link from arm-none-linux-gnueabi-* to
arm-linux-*, something like:
$ cd /path/to/compiler
$ for i in `ls`; do ln -s $i ${i/none-linux-gnueabi/linux}; done
this might help. To be sure the command is right before really executing
it, change ln -s to echo and see if the paths are ok.
--
balbi
next prev parent reply other threads:[~2008-12-25 19:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-24 3:24 using git with linux-omap green
2008-12-24 4:19 ` Felipe Balbi
2008-12-25 0:46 ` green
2008-12-25 19:55 ` Felipe Balbi [this message]
2009-01-08 17:02 ` green
2009-01-24 22:20 ` green
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=20081225195450.GF10240@frodo \
--to=me@felipebalbi.com \
--cc=linux-omap@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