7

I am trying to use git clone on Mac OS Snow Leopard. All I do is "git clone https://*/project.git" from documents/projects directory. For some reason operation never completes and stops at random points somewhere at the "Receiving Files:" stage(different % of copied files each time). Am I doing something wrong?

Alex
  • 1,724
  • 13
  • 25

1 Answers1

2

I have usually seen this symptom on repos with a "resource locked" issue, because of some processes keeping an handle on one of the git files.

Last time was for a git repo directly part of a Dropbox shared directory. (Which is why I always recommend to share in a Dropbox directory only the bundle, not the all git repo structure itself)

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • But if something is locked then I guess it should always stuck at certain point. But for me it can stop one time at 7% another time at 67%. Completely random. – Alex Apr 22 '12 at 09:39
  • @Aleksey that's my point: the DropBox sync was locking a different resource every time when synchronizing different part of the many files of a Git repo structure. Hence the randomness. Depending on the nature of the process locking resources, that randomness can apply too here. – VonC Apr 22 '12 at 09:41