Re: [BUG] git shortlog: need a range!
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 29, 2006, 09:38 UTC
- Message-ID
- <Pine.LNX.4.63.0611291034340.30004@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7v8xhv2uj1.fsf@assigned-by-dhcp.cox.net>
Hi,
On Tue, 28 Nov 2006, Junio C Hamano wrote:
Show 6 quoted lines
> I just got this: > > $ git shortlog --since=Oct.20 --until=Nov.20 master > fatal: Need a range! > > Why isn't this a range?
It really is not. Think about this scenario:
A - B - C
\ /
Dwhere both B and D were done after Oct.20, but not A. Then you do not have a range, i.e. you cannot represent the same in the form X..Y.
However, this only shows that my reasoning in shortlog was wrong. It was meant to prevent accidentally traversing the _whole_ history (which does take some time), but maybe even this is something people want to do?
Therefore: Ack on René's patch.
Ciao, Dscho