All of lore.kernel.org
 help / color / mirror / Atom feed
* git-shortlog hangs on bare repo without --bare option
@ 2008-08-27 19:52 Garry Dolley
  2008-08-27 20:32 ` Junio C Hamano
  2008-08-27 21:40 ` René Scharfe
  0 siblings, 2 replies; 12+ messages in thread
From: Garry Dolley @ 2008-08-27 19:52 UTC (permalink / raw)
  To: git

I didn't see this happen with git 1.5.x, but if you do git-shortlog on a bare 
repo, without specifying --bare, the command will seemingly hang indefinitely.

Here's my output:

[garry@garry-thinkpad] ~/dev (master) $ cd ebay4r/                       <----- Repo with working tree (non-bare)
[garry@garry-thinkpad] ~/dev/ebay4r (master) $ git shortlog -e -s
   130  Garry Dolley <gdolley@arpnetworks.com>
[garry@garry-thinkpad] ~/dev/ebay4r (master) $ cd ..
[garry@garry-thinkpad] ~/dev (master) $ git clone --mirror ebay4r/ ebay4r-bare
Initialized empty Git repository in /home/garry/dev/ebay4r-bare/
[garry@garry-thinkpad] ~/dev (master) $ cd ebay4r-bare/
[garry@garry-thinkpad] ~/dev/ebay4r-bare (master) $ git shortlog -e -s
<hang>                                                                   <----- *** It hangs here ***

[garry@garry-thinkpad] ~/dev/ebay4r-bare (master) $ git --bare shortlog -e -s
   130  Garry Dolley <gdolley@arpnetworks.com>
[garry@garry-thinkpad] ~/dev/ebay4r-bare (master) $ 


If newlines break this output in your reader, you can also view it 
here: http://pastie.org/261134

I'm using git 1.6.0.1

Is this a bug?

-- 
Garry Dolley
ARP Networks, Inc.
818-206-0181
Los Angeles County REACT, Unit 336
WQGK336

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-08-28  7:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-27 19:52 git-shortlog hangs on bare repo without --bare option Garry Dolley
2008-08-27 20:32 ` Junio C Hamano
2008-08-27 21:21   ` Garry Dolley
2008-08-27 21:40 ` René Scharfe
2008-08-27 22:15   ` Garry Dolley
2008-08-27 22:19   ` Junio C Hamano
2008-08-27 22:41     ` Junio C Hamano
2008-08-27 23:09       ` Junio C Hamano
2008-08-27 23:16       ` Junio C Hamano
2008-08-27 23:30         ` Jeff King
2008-08-28  4:56           ` Junio C Hamano
2008-08-28  7:16         ` Nguyen Thai Ngoc Duy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.