Re: [BUG] git-clone fails due to GnuTLS recv error (-9), then deletes entire local repo

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

 



On Fri, Feb 1, 2013 at 5:00 PM, TJ <git@xxxxxx> 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
--
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]