Re: "git clone --depth=2 git://git.sv.gnu.org/gnulib" hangs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 25, 2011 at 10:28:10PM +0200, Jim Meyering wrote:

> We've had a report that this command is hanging:
> 
>     git clone --depth=2 git://git.sv.gnu.org/gnulib

It might be related to this deadlock which impacts upload-pack on a
server with pthreads serving a shallow clone:

  http://thread.gmane.org/gmane.comp.version-control.git/170789

Unfortunately the fix I posted is not yet in any released version of
git. It is in the current 'next'.

> It appears to be something specific to the gnulib repository,
> since I can do a shallow clone of e.g., this one just fine:
> 
>     git://git.savannah.gnu.org/parallel.git

It's a race condition on filling up a rev-list buffer, so certain repos
may be more prone to triggering the race than others.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]