Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: [BUG] git shortlog hangs in bare repo

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:48:42

Hi Eugene,

Eugene Sajine wrote:
I have tried to run this command in order to get some stats from the
mainline bare repo. The result is that "shortlog" hangs for long
period of time and nothing happens. At the same time git log works OK.
I’m a big shortlog fan, too, but I should mention a certain performance
characteristic: to sort its results by author, it has to build the whole
log before it can print anything to standard output at all.  git log,
on the other hand, starts printing the most pertinent output right away.

Not sure that’s the problem, but thought I should mention it.

It would be nice to know what git version you are using, to be able to
check for relevant differences between your setup and mine.

Thanks for the report,
Jonathan

The most interesting recent change I could find is in v1.7.1-rc0~85^2
(shortlog: warn the user when there is no input, 2010-02-24).  That is
for the no-repository case rather than the bare-repository one.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help