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

Re: git clone over http

From
Sean <seanlkml@sympatico.ca>
Date
Sep 2, 2007, 18:54 UTC
Message-ID
<20070902145429.8bf50059.seanlkml@sympatico.ca>
In-Reply-To
<200709021123.04218.robin.rosenberg.lists@dewire.com>

On Sun, 2 Sep 2007 11:23:03 +0200 Robin Rosenberg <robin.rosenberg.lists@dewire.com> wrote:

Hi Robin,
> git clone (1.5.3) with http is somewhat unreliable. I've noticed if can actually give
> me different versions of a branch each time I run it, eventually yielding
> the one I'm expecting.  And now this:

Hmmm, that's very odd. Tried it 3 times here and master was always at the same commit (0421997bfd5).

> (Using master, just after rc7)
> $ git clone http://unix.schottelius.org/git/cLinux/cinit.git
[...]
> /usr/local/bin/git-clone: line 40: 14823 Segmenteringsfel        git-http-fetch $v -a -w "$tname" "$sha1" "$1"
> 
> It doesn't repeat itself, but I cannot clone because it always crashes.

Using 1.5.3 here and it works just fine. Perhaps it has something to do with your version of the Curl library? This is what is in use here:

$ curl --version
curl 7.16.4 (i686-pc-linux-gnu) libcurl/7.16.4 OpenSSL/0.9.8e zlib/1.2.3
Protocols: tftp ftp telnet dict http file https ftps 
Features: Largefile NTLM SSL libz
Sean
Previous: Robin RosenbergNext: Josh England
Message 2 of 5 in “git clone over http”
  1. Robin RosenbergSep 2, 2007
  2. SeanSep 2, 2007
  3. Josh EnglandSep 4, 2007
  4. Junio C HamanoSep 4, 2007
  5. Robin RosenbergSep 4, 2007

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.