git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Apr 15, 2013, 15:58 UTC
Message-ID
<CALUzUxr5i6sRywbKB=eFEcrpHdVtduMQFKaXwMX-WdcWAa6g2A@mail.gmail.com>
In-Reply-To
<510B8416.7010802@iam.tj>
On Fri, Feb 1, 2013 at 5:00 PM, TJ <git@iam.tj> wrote:
Show 11 quoted lines
> 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

Previous: TJ
Message 2 of 2 in “[BUG] git-clone fails due to GnuTLS recv error (-9), then deletes entire local repo”
  1. TJFeb 1, 2013
  2. Tay Ray ChuanApr 15, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.