Re: git shortlog vs. stdin

2016-11-15 Thread Christian Neukirchen
Andreas Krey 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

git shortlog vs. stdin

2016-11-15 Thread Andreas Krey
Hi all, I observed a strange an unexpected behaviour in 'git shortlog'. When in git.git: $ git shortlog -sn | wc 14414493 31477 but with input redirected: $ git shortlog -sn Date: Fri, 22 Jan 2010 07:29:21 -0800