Re: [PATCH 7/8] Documentation/cherry-pick: describe passing more than one commit
- From
Christian Couder <chriscool@tuxfamily.org>
- Date
- Jun 14, 2010, 03:33 UTC
- Message-ID
- <201006140533.10649.chriscool@tuxfamily.org>
- In-Reply-To
- <20100602061452.GA9439@progeny.tock>
On Wednesday 02 June 2010 08:14:52 Jonathan Nieder wrote:
Show 16 quoted lines
> Christian Couder wrote: > > On Tuesday 01 June 2010 11:51:24 Jonathan Nieder wrote: > >> git rev-list master -- README | git cherry-pick -n --stdin:: > >> > >> Apply the changes introduced by all commits on the master > >> branch that touched README to the working tree and index, > >> so the result can be inspected and made into a single new > >> commit if suitable. > > > > I think "--reverse" is needed after "rev-list" and cherry-pick has no > > --stdin option. > > That’s too bad. :( git show inherits it from rev-list. > > Your new series looks good. Maybe I will obfuscate the examples some > other day.
I will send a patch to add option --stdin to revert/cherry-pick. And it adds your fixed obfuscating example :-)
Thanks, Christian.