Re: multiple-commit cherry-pick?
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Nov 7, 2008, 18:08 UTC
- Message-ID
- <alpine.LFD.2.00.0811071004170.3468@nehalem.linux-foundation.org>
- In-Reply-To
- <20081107071231.GA4063@blimp.localdomain>
On Fri, 7 Nov 2008, Alex Riesen wrote:
> > Does not work if there are ranges given :-/ > It'd be very nice to have: git show #c1..$c2 $c3 $c4 $c5..$c6
Yeah, we've very fundamentally never supported that. Not for show, but also not for anything else (ie "gitk a..b c..d" does _not_ give you two ranges).
It's easy to see why once you understand what 'a..b' really means (ie it just expands to '^a' and 'b'), and how it's not really a "range" operation as much as a set operation that interacts with all the other arguments too. But unless you're very aware of that, it can be surprising.
Linus