Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Re: cherry picking several patches at once

From: Felipe Contreras <hidden>
Date: 2016-06-15 22:48:05

On Sun, Jan 24, 2010 at 12:52 PM, Felipe Balbi [off-list ref] wrote:
On Sat, 2010-01-23 at 01:57 +0200, Felipe Contreras wrote:
quoted
Have you tried something like:
git format-patch old-base --full-diff -- /path
git am -3 *.patch
yes, sure that can be done, but the idea is to avoid having
format-patch, switch branches and git am those patches ;-)
When you do a 'git rebase' you are also doing a format-patch/am, but
that happens inside the script; you can write a script that does what
you want in a way that you wouldn't notice it: save the old branch,
git stash, switch to new branch, generate the patches, apply the
patches, switch back to the old branch, git stash pop.
quoted
I think that would not be possible because of the challenges when
dealing with conflicts.
there shouldn't be any. I have the same driver internally and publicly
and would be cherry-picking only the patches for that particular driver.
Ok, in that case we would just need a cherry-pick that can commit to a
separate branch, however I don't think git internals allow that kind
of thing.

-- 
Felipe Contreras
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help