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

Cannot use cg-clone over http after packing a public repo

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Aug 19, 2005, 03:35 UTC
Message-ID
<46a038f905081820353988dfdd@mail.gmail.com>
With todays git and cogito:
  moodle-git-merge$ git-push-script --all ~/public_html/repos/moodle.git

This unpacked the repo completely, in spite if it being local. Anyway, from a remote machine I could do cg-clone and it succeeded, though it took ages:

    cg-clone http://mltest/~martin/repos/moodle.git moodle-foo
So I packed the repo
  GIT_DIR=~/public_html/repos/moodle.git/ git-repack-script
  GIT_DIR=~/public_html/repos/moodle.git/ git-prune-packed

And now cg-clone dies -- the objects/info/packs file is missing. It's there for the repos in kernel.org, but it isn't there in mine. Hmmmm. I don't see any option mentioned in the git-repack documentation to create them. strange.

cheers,
martin
Next: Martin Langhoff
Message 1 of 2 in “Cannot use cg-clone over http after packing a public repo”
  1. Martin LanghoffAug 19, 2005
  2. Martin LanghoffAug 19, 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.