git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
  \   /
    D

where 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

Previous: René Scharfe
Message 3 of 3 in “[BUG] git shortlog: need a range!”
  1. Junio C HamanoNov 28, 2006
  2. shortlog: remove range checkRené Scharfe, Nov 28, 2006
  3. Johannes SchindelinNov 29, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.