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

Re: [PATCH] shortlog: prompt when reading from terminal by mistake

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Mar 8, 2007, 17:31 UTC
Message-ID
<Pine.LNX.4.64.0703080928580.10832@woody.linux-foundation.org>
In-Reply-To
<Pine.LNX.4.63.0703081755500.22628@wbgn013.biozentrum.uni-wuerzburg.de>
On Thu, 8 Mar 2007, Johannes Schindelin wrote:
> 
> How about something totally different: "git log --shortlog". I.e.
Sure, but this is even worse, because the way you wrote the patch, now
	git log --shortlog
will act as a filter too, which is even *more* confusing.
You also broke something even more fundamental. Try this:
	git log -- --shortlog
with your patch ;)

But yeah, if "cmd_shortlog()" worked like "git log" (at least if it sees the "--shortlog" flag) and with that obvious filename parsing thing fixed, that thing would be fine.

			Linus
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 14 of 17 in “shortlog: prompt when reading from terminal by mistake”
  1. shortlog: prompt when reading from terminal by mistakeJunio C Hamano, Mar 8, 2007
  2. Johannes SchindelinMar 8, 2007
  3. Shawn O. PearceMar 8, 2007
  4. Alex RiesenMar 8, 2007
  5. Shawn O. PearceMar 9, 2007
  6. Alex RiesenMar 9, 2007
  7. Shawn O. PearceMar 9, 2007
  8. Johannes SchindelinMar 8, 2007
  9. Shawn O. PearceMar 9, 2007
  10. Linus TorvaldsMar 8, 2007
  11. Johannes SchindelinMar 8, 2007
  12. Matthieu MoyMar 8, 2007
  13. Johannes SchindelinMar 8, 2007
  14. Linus TorvaldsMar 8, 2007
  15. Johannes SchindelinMar 8, 2007
  16. Jakub NarebskiMar 9, 2007
  17. Junio C HamanoMar 10, 2007

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.