From: Alex Riesen Date: Fri, 07 Nov 2008 07:12:31 GMT Subject: Re: multiple-commit cherry-pick? 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: > Linus Torvalds writes: > > > On Thu, 6 Nov 2008, Alex Riesen wrote: > >> > >> git format-patch --full-index --binary --stdout | 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