Subject: Re: git shortlog vs. stdin

From: Christian Neukirchen <[email-masked]>
Date: Tue, 15 Nov 2016 14:39:59 +0100

Andreas Krey <[email-masked]> 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  <[email-masked]>  http://chneukirchen.org