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

Re: Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Nov 7, 2005, 02:52 UTC
Message-ID
<46a038f90511061852h5cdf9539o34f69b4deb9f041a@mail.gmail.com>
In-Reply-To
<46a038f90511061354k5378a92ckc427841f90ec8b4@mail.gmail.com>
On 11/7/05, Martin Langhoff <martin.langhoff@gmail.com> wrote:
> Strange!
>
> I'm getting errors when cloning over http
More info on this.

git-fetch-pack (invoked by cg-fetch) bails out because it thinks it got a 404 fetching one of the packs:

Getting pack 9cbe4a5eb777d4ee535f08feb471e812208ed3a5
 which contains 7004cdf821ab5ddcded7819dea34015b0e84cd9a
error: Unable to get pack file
http://locke.catalyst.net.nz/git/moodle.git//objects/pack/pack-9cbe4a5eb777d4ee535f08feb471e812208ed3a5.pack
The requested URL returned error: 404

However, the url is reachable via http (tested with curl and wget) and Apache records the transaction as a 200 OK -- there's no 404 there! (There are 404s, of course, for objects that are in the pack but not for any pack). Trying to read http-fetch.c and http-pull.c to figure out where we could get the return status wrong, but my C is just nonexistant. Hints appreciated.

cheers,
martin
Previous: Martin LanghoffNext: Nick Hengeveld
Message 2 of 12 in “Errors cloning over http -- git-clone and cg-clone fail to fetch a reachable object...”
  1. Martin LanghoffNov 6, 2005
  2. Martin LanghoffNov 7, 2005
  3. Nick HengeveldNov 7, 2005
  4. Martin LanghoffNov 7, 2005
  5. Nick HengeveldNov 7, 2005
  6. Martin LanghoffNov 8, 2005
  7. Nick HengeveldNov 8, 2005
  8. Johannes SchindelinNov 8, 2005
  9. Ben CliffordNov 8, 2005
  10. Nick HengeveldNov 9, 2005
  11. Ben CliffordNov 9, 2005
  12. Petr BaudisNov 9, 2005

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.