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

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

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Nov 6, 2005, 21:54 UTC
Message-ID
<46a038f90511061354k5378a92ckc427841f90ec8b4@mail.gmail.com>
Strange!
I'm getting errors when cloning over http

git-clone http://locke.catalyst.net.nz/git/moodle.git mdlfoo (...) error: (curl_result = 3601440, http_code = 200, sha1 = f04241b142edfbf28fff2babb426cbab5b44e26b) Getting pack list error: Getting alternates list error: Unable to find f04241b142edfbf28fff2babb426cbab5b44e26b under http://locke.catalyst.net.nz/git/moodle.git/

Cannot obtain needed commit f04241b142edfbf28fff2babb426cbab5b44e26b while processing commit 0965f28d4d75f324b86c8f7490830fea471c65c5.

This commit object is easily reachable at http://mirrors.catalyst.net.nz/git/moodle.git/objects/f0/4241b142edfbf28fff2babb426cbab5b44e26b

If I use cg-clone, I get a similar error

cg-clone http://locke.catalyst.net.nz/git/moodle.git#mdl-artena-tairawhiti mdlfooo (...) Cannot obtain needed object 214e6374d49e6d014f0ba6f159d585a3fe468909 while processing commit 0000000000000000000000000000000000000000. cg-fetch: objects fetch failed cg-clone: fetch failed

This commit object seems to be in a pack: http://mirrors.catalyst.net.nz/git/moodle.git/objects/pack/pack-094560c0177ad659a6e172739c4be53da749e5f0.pack

git-cat-file on the server works correctly, and cloning/working over git+ssh works too.

cheers,
martin
Next: Martin Langhoff
Message 1 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.