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

Re: git shortlog vs. stdin

From
Christian Neukirchen <chneukirchen@gmail.com>
Date
Nov 15, 2016, 13:39 UTC
Message-ID
<877f84dfps.fsf@gmail.com>
In-Reply-To
<20161115130418.GA28847@inner.h.apk.li>
Andreas Krey <a.krey@gmx.de> writes:
> Bug or feature?
Documented feature, but you're holding it wrong ;)
       If no revisions are passed on the command line and either standard
       input is not a terminal or there is no current branch, git shortlog
       will output a summary of the log read from standard input, without
       reference to the current repository.
(Note that you can use shortlog ala "git log --pretty=short | git shortlog")
-- 
Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org
Previous: Andreas Krey
Message 2 of 2 in “git shortlog vs. stdin”
  1. Andreas KreyNov 15, 2016
  2. Christian NeukirchenNov 15, 2016

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.