From: Tay Ray Chuan Date: Mon, 15 Apr 2013 15:58:54 GMT Subject: Re: [BUG] git-clone fails due to GnuTLS recv error (-9), then deletes entire local repo Message-ID: In-Reply-To: <510B8416.7010802@iam.tj> On Fri, Feb 1, 2013 at 5:00 PM, TJ wrote: > Using Ubuntu Precise 12.04 with git version (1.8.0.3) I discovered a bug whereby git-clone deletes the repository > it has just created if there is a GnuTLS error after the final transfer. > > I switched to building and using the current git head (1.8.1.2.433.g070c57d.dirty) and found the same issue is still present. > > There are two problems here: > > 1. At the end of the transfer "GnuTLS recv error (-9): A TLS packet with unexpected length was received" > 2. git-clone goes on to resolve deltas *then* deletes the entire repository > > This is reported as Ubuntu bug #1111882 at https://bugs.launchpad.net/ubuntu/+bug/1111882 I believe this is due to git not supporting resumable clones, and that the repo is in an unusable state. It's listed as a 2011 GSoC idea [1] but has since been taken off because it's considered a "hard" problem (can't come with a email thread right off the top of my head). [1] https://git.wiki.kernel.org/index.php/SoC2011Ideas#Resumable_clone -- Cheers, Ray Chuan