From: Patrick Ohly <patrick.ohly@intel.com>
To: Christopher Larson <clarson@kergoth.com>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>,
Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: using devtool for rebasing patches
Date: Thu, 03 Nov 2016 20:14:04 +0100 [thread overview]
Message-ID: <1478200444.13356.108.camel@intel.com> (raw)
In-Reply-To: <CABcZAN=6WvHcfyUj5hYmFG6nYoYTkYLrqO6s70v31bYNn85iXg@mail.gmail.com>
On Thu, 2016-11-03 at 10:14 -0700, Christopher Larson wrote:
>
> On Thu, Nov 3, 2016 at 9:35 AM, Alexander Kanavin
> <alexander.kanavin@linux.intel.com> wrote:
>
> What you need to do here is to use git am --reject, which
> would partially apply the patch, then find all the *.rej files
> and let the user manually edit them in, then complete the
> patch application with git am --continue.
>
>
> With -3, it’ll merge it into the file with conflict markers, which is
> a lot more pleasant to deal with than .rej files, even without the
> merge-base being available.
That's also what I would prefer.
To deal with recipes that have something other than git as source one
could create a local git repo with a branch that contains two commits
(old version and new version), apply the patches on a second branch on
top of the old version, then do the normal rebase with conflictstyle =
diff3. At least I find that configstyle useful and have it in my
~/.gitconfig.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
next prev parent reply other threads:[~2016-11-03 19:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-03 16:01 using devtool for rebasing patches Alexander Kanavin
2016-11-03 16:29 ` Christopher Larson
2016-11-03 16:35 ` Alexander Kanavin
2016-11-03 17:14 ` Christopher Larson
2016-11-03 19:14 ` Patrick Ohly [this message]
2016-11-03 19:24 ` Paul Eggleton
2016-11-03 19:27 ` Khem Raj
2016-11-03 16:52 ` Patrick Ohly
2016-11-03 19:29 ` Paul Eggleton
2016-11-03 19:34 ` Paul Eggleton
2016-11-04 13:54 ` Alexander Kanavin
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=1478200444.13356.108.camel@intel.com \
--to=patrick.ohly@intel.com \
--cc=clarson@kergoth.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@linux.intel.com \
/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