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

Re: A look at some alternative PACK file encodings

From
RCRichard Curnow <rc@rc0.org.uk>
Date
Sep 7, 2006, 14:39 UTC
Message-ID
<loom.20060907T163036-849@post.gmane.org>
In-Reply-To
<20060907133456.24226.qmail@science.horizon.com>
 <linux <at> horizon.com> writes:
> 
> For regular packs, such objects wouldn't even be present, because
> all base objects are in the pack itself.
> 
It would actually be useful if this restriction were lifted.

Granted, for working repositories there's not much point, because 'git repack -a -d' can be run regularly these days.

But for repositories served by the dumb http:// transport it makes some sense. You don't want to run 'repack -a -d' on those, because anybody tracking them ends up having to download the entire history again every time they pull. But if you pack too often, you incur the cost of the packs containing lots of base objects - it's as though the delta chain lengths can only ever be about 1 or 2.

If the packs were thin, regular pullers would already have the base objects, and occasional pullers would just have to download more of the intervening (thin) packs to get the missing deltas in the middle of the chains. (I think everyone has to download all the .idx files in any case.)

Previous: linux@horizon.comNext: Junio C Hamano
Message 6 of 10 in “Re: A look at some alternative PACK file encodings”
  1. linux@horizon.comSep 7, 2006
  2. Jon SmirlSep 7, 2006
  3. linux@horizon.comSep 7, 2006
  4. Jon SmirlSep 7, 2006
  5. linux@horizon.comSep 7, 2006
  6. Richard CurnowSep 7, 2006
  7. Junio C HamanoSep 7, 2006
  8. A Large Angry SCMSep 7, 2006
  9. Nicolas PitreSep 7, 2006
  10. linux@horizon.comSep 7, 2006

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.