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