Re: feature request: git-log should accept sth like v2.6.26-rc8-227
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 11, 2008, 19:57 UTC
- Message-ID
- <alpine.DEB.1.00.0807112041470.8950@racer>
- In-Reply-To
- <20080711192902.GD1721@dpotapov.dyndns.org>
Hi,
On Fri, 11 Jul 2008, Dmitry Potapov wrote:
Show 7 quoted lines
> On Fri, Jul 11, 2008 at 04:58:40PM +0200, Toralf Förster wrote: > > > > $> git-log v2.6.26-rc9.. --pretty=short | grep "^commit" | cut -f2 -d' ' | xargs -n 1 git describe | grep '\-56\-' > > The fastest way to do the same would be: > > git rev-list v2.6.26-rc9.. | xargs git describe | grep '\-56\-'
You forgot the "--all" option to rev-list.
And I doubt it would be the "fastest" way, in terms of execution speed.
Also, it leaves out this case:
rc9 - A - B - C - D - F
\ /
----- E -----F would be "rc9-5", but also "rc9-2".
Oh, and this would leave out reflogs, too.
Can we please let this concept die now?
Hth, Dscho