Re: multiple-commit cherry-pick?
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Nov 7, 2008, 07:12 UTC
- Message-ID
- <20081107071231.GA4063@blimp.localdomain>
- In-Reply-To
- <7vskq4gmf5.fsf@gitster.siamese.dyndns.org>
Junio C Hamano, Fri, Nov 07, 2008 06:00:46 +0100:
Show 16 quoted lines
> Linus Torvalds <torvalds@linux-foundation.org> writes: > > > On Thu, 6 Nov 2008, Alex Riesen wrote: > >> > >> git format-patch --full-index --binary --stdout <range...> | git am -3 > >> > >> This will not work if you want to pick a list, not a range, of > >> commits. > > > > Doesn't "--no-walk" + list commits individually work? > > > > So it _should_ be possible to pick a list of commits too. Although I think > > that git format-patch will reverse the order. > > Or "git show --pretty=email $commit1 $commit2" ... piped to "am"? >
Does not work if there are ranges given :-/ It'd be very nice to have: git show #c1..$c2 $c3 $c4 $c5..$c6