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

Re: pack count on repo.or.cz

From
Jeff King <peff@peff.net>
Date
Sep 2, 2008, 01:56 UTC
Message-ID
<20080902015637.GA14765@coredump.intra.peff.net>
In-Reply-To
<7vod37s4hz.fsf@gitster.siamese.dyndns.org>
On Mon, Sep 01, 2008 at 06:47:36PM -0700, Junio C Hamano wrote:
Show 6 quoted lines
> Hmm, I am slightly worried about doing so might defeat the whole point of
> making the sample repository a separate one from git.git hosted there.
> 
> The reason it is not a branch in git.git is because I did not want to
> contaminate the official git.git repository with commit objects in tree
> objects (aka gitlinks); it would deny access to clients older than 1.5.2.

Hrm. I had assumed they wouldn't be a problem because nothing actually _referenced_ them, but I suppose it would break git-fsck on such systems.

Anyway, I think "git repack -A" is a better solution (and presumably there is some magic on the pruning end to make sure forks do the right thing with loose objects).

-Peff
Previous: Junio C HamanoNext: Petr Baudis
Message 6 of 12 in “Medium term dreams”
  1. Junio C HamanoSep 1, 2008
  2. pack count on repo.or.cz [was "Medium term dreams"]Jeff King, Sep 2, 2008
  3. Petr BaudisSep 2, 2008
  4. Jeff KingSep 2, 2008
  5. Junio C HamanoSep 2, 2008
  6. Jeff KingSep 2, 2008
  7. Petr BaudisSep 2, 2008
  8. Jeff KingSep 2, 2008
  9. Petr BaudisSep 2, 2008
  10. Johannes SixtSep 2, 2008
  11. Petr BaudisSep 3, 2008
  12. Mike HommeySep 4, 2008

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.