Re: "git clone --depth=2 git://git.sv.gnu.org/gnulib" hangs
- From
Jim Meyering <jim@meyering.net>
- Date
- Apr 26, 2011, 16:02 UTC
- Message-ID
- <87bozt9f23.fsf@rho.meyering.net>
- In-Reply-To
- <20110426075917.GA26874@sigill.intra.peff.net>
Jeff King wrote:
Show 9 quoted lines
> 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
Thanks for the pointer. That looks very promising.
Hoping to be able to test your fix, I rsync'd the offending repository to a system on which I can experiment safely, but so far have been unable to reproduce the failure there. Of course, if my problem is indeed due to the race condition bug that your patch fixes, it's not surprising that it is unreproducible in a different environment.
> Unfortunately the fix I posted is not yet in any released version of > git. It is in the current 'next'.