Francisco,
________________________________________
From: lilypond-devel-bounces+james.lowe=datacore....@gnu.org 
[lilypond-devel-bounces+james.lowe=datacore....@gnu.org] on behalf of Francisco 
Vila [paconet....@gmail.com]
Sent: 05 July 2011 20:32
To: LilyPond-Devel list
Subject: 'git log --shortstat' hangs

I am sorry if this is too offtopic. When I do

  git log --shortstat | wc -l

git does not complete the process and refuses to give control back to
the user.  Tested with git 1.7.0.4 and 1.7.4.1, on two different
(large) git repositories.  The same happens if you type

  git log --shortstat

and hit the 'end' key in the less pager.  I have dumped the output to
a file and it just freezes and stops dumping.

Without the --shortstat option it takes a fraction of a second even on
large git histories.  Could anyone test it?

---------------

tested it on my LilyPond Git.

Indeed git log | wc -l takes a few seconds but git log --shortstat | wc -l does 
complete but takes more time. However I am using 6 CPUs on this server and I 
noticed that one CPU was constantly at 100% all the others hovered about 4% 
while I did this.

I expect on lesser machines it will also complete.

Here is my output with date

james@james-LilybuntuVM:~/lilypond-git$ date ; git log --shortstat | wc -l ; 
date
Tue Jul  5 22:18:17 BST 2011
222369
Tue Jul  5 22:18:53 BST 2011
james@james-LilybuntuVM:~/lilypond-git$ 
james@james-LilybuntuVM:~/lilypond-git$ date ; git log | wc -l ; dateTue Jul  5 
22:19:03 BST 2011
182473
Tue Jul  5 22:19:04 BST 2011
james@james-LilybuntuVM:~/lilypond-git$ 

HTH

James


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to