{"thread":{"id":"23568","subject":"[BUG] git shortlog hangs in bare repo","startedAt":"2010-04-22T19:22:03Z","lastAt":"2010-04-26T18:25:40Z","messageCount":5,"participants":["Eugene Sajine","Ramkumar Ramachandra","Jonathan Nieder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"140149","messageId":"u2i76c5b8581004221222ge8bb0b8cp55cb1f13d5f9692a@mail.gmail.com","threadId":"23568","inReplyTo":null,"subject":"[BUG] git shortlog hangs in bare repo","fromName":"Eugene Sajine","fromEmail":"euguess@gmail.com","sentAt":"2010-04-22T19:22:03Z","receivedAt":"2010-04-22T19:22:03Z","isPatch":false,"sender":{"key":"euguess@gmail.com","avatar":null},"body":"Hi,\n\nI have tried to run this command in order to get some stats from the\nmainline bare repo. The result is that \"shortlog\" hangs for long\nperiod of time and nothing happens. At the same time git log works OK.\n\nThanks,\nEugene\n"},{"id":"140152","messageId":"y2kf3271551004221306i9a08c06bl7abad4e56c0bbc28@mail.gmail.com","threadId":"23568","inReplyTo":"u2i76c5b8581004221222ge8bb0b8cp55cb1f13d5f9692a@mail.gmail.com","subject":"Re: [BUG] git shortlog hangs in bare repo","fromName":"Ramkumar Ramachandra","fromEmail":"artagnon@gmail.com","sentAt":"2010-04-22T20:06:46Z","receivedAt":"2010-04-22T20:06:46Z","isPatch":false,"sender":{"key":"r@artagnon.com","avatar":"https://avatars.githubusercontent.com/u/37226?v=4"},"body":"Hi,\n\n> I have tried to run this command in order to get some stats from the\n> mainline bare repo. The result is that \"shortlog\" hangs for long\n> period of time and nothing happens. At the same time git log works OK.\n\nAs far as I can tell, this problem is already fixed in the latest\nupstream version- expect it to be fixed in the next release.\n\n-- Ram\n"},{"id":"140366","messageId":"20100425215042.GA25547@progeny.tock","threadId":"23568","inReplyTo":"u2i76c5b8581004221222ge8bb0b8cp55cb1f13d5f9692a@mail.gmail.com","subject":"Re: [BUG] git shortlog hangs in bare repo","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2010-04-25T21:50:42Z","receivedAt":"2010-04-25T21:50:42Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi Eugene,\n\nEugene Sajine wrote:\n\n> I have tried to run this command in order to get some stats from the\n> mainline bare repo. The result is that \"shortlog\" hangs for long\n> period of time and nothing happens. At the same time git log works OK.\n\nI’m a big shortlog fan, too, but I should mention a certain performance\ncharacteristic: to sort its results by author, it has to build the whole\nlog before it can print anything to standard output at all.  git log,\non the other hand, starts printing the most pertinent output right away.\n\nNot sure that’s the problem, but thought I should mention it.\n\nIt would be nice to know what git version you are using, to be able to\ncheck for relevant differences between your setup and mine.\n\nThanks for the report,\nJonathan\n\nThe most interesting recent change I could find is in v1.7.1-rc0~85^2\n(shortlog: warn the user when there is no input, 2010-02-24).  That is\nfor the no-repository case rather than the bare-repository one.\n"},{"id":"140433","messageId":"n2i76c5b8581004261103k287ce0fax7b3a511dbb72c95b@mail.gmail.com","threadId":"23568","inReplyTo":"20100425215042.GA25547@progeny.tock","subject":"Re: [BUG] git shortlog hangs in bare repo","fromName":"Eugene Sajine","fromEmail":"euguess@gmail.com","sentAt":"2010-04-26T18:03:22Z","receivedAt":"2010-04-26T18:03:22Z","isPatch":false,"sender":{"key":"euguess@gmail.com","avatar":null},"body":"On Sun, Apr 25, 2010 at 5:50 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:\n> Hi Eugene,\n>\n> Eugene Sajine wrote:\n>\n>> I have tried to run this command in order to get some stats from the\n>> mainline bare repo. The result is that \"shortlog\" hangs for long\n>> period of time and nothing happens. At the same time git log works OK.\n>\n> I’m a big shortlog fan, too, but I should mention a certain performance\n> characteristic: to sort its results by author, it has to build the whole\n> log before it can print anything to standard output at all.  git log,\n> on the other hand, starts printing the most pertinent output right away.\n>\n> Not sure that’s the problem, but thought I should mention it.\n>\n> It would be nice to know what git version you are using, to be able to\n> check for relevant differences between your setup and mine.\n>\n> Thanks for the report,\n> Jonathan\n>\n> The most interesting recent change I could find is in v1.7.1-rc0~85^2\n> (shortlog: warn the user when there is no input, 2010-02-24).  That is\n> for the no-repository case rather than the bare-repository one.\n>\nHi,\n\nThis is happening in Git 1.6.5.6.\nThe case here is that for the same project (same repo) in bare\nshortlog is not working, in non-bare it is working instantaneously.\n\nThanks,\nEugene\n"},{"id":"140441","messageId":"20100426182540.GA11378@progeny.tock","threadId":"23568","inReplyTo":"n2i76c5b8581004261103k287ce0fax7b3a511dbb72c95b@mail.gmail.com","subject":"Re: [BUG] git shortlog hangs in bare repo","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2010-04-26T18:25:40Z","receivedAt":"2010-04-26T18:25:40Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Eugene Sajine wrote:\n\n> This is happening in Git 1.6.5.6.\n> The case here is that for the same project (same repo) in bare\n> shortlog is not working, in non-bare it is working instantaneously.\n\nThanks, that was helpful.  This is fixed by v1.7.1-rc0~157^2~1\n(setenv(GIT_DIR) clean-up, 2010-02-06).  You can find v1.7.1 at\n<http://www.kernel.org/pub/software/scm/git/>, for example[1].\n\nThanks, René.\n\nJonathan\n\n[1] http://thread.gmane.org/gmane.linux.kernel/977720\n"}]}