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

Re: RFC: Allow missing objects during packing

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 12, 2008, 02:08 UTC
Message-ID
<7vbpzzt26q.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080812012859.GT26363@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
Show 9 quoted lines
> If we are building a thin pack and one of the base objects we would
> consider for deltification is missing its OK, the other side already
> has that base object.  We may be able to get a delta from another
> object, or we can simply send the new object whole (no delta).
>
> This allows a shallow clone which may have only commits and trees
> (but only partial blobs) to generate a pack for a fetch client,
> so the shallow clone only needs to contain objects that are not
> in the common base.

I'd queue this to 'pu' (or 'next' if you want, but that amounts to about the same thing as we will be rebuilding 'next' soon after 1.6.0 ships), but this would probably be better demonstrated with a test script that demonstrates in what workflow this would be useful.

Previous: Shawn O. PearceNext: Nicolas Pitre
Message 5 of 12 in “RFC: Allow missing objects during packing”
  1. Shawn O. PearceAug 11, 2008
  2. Junio C HamanoAug 11, 2008
  3. Shawn O. PearceAug 11, 2008
  4. Shawn O. PearceAug 12, 2008
  5. Junio C HamanoAug 12, 2008
  6. Nicolas PitreAug 12, 2008
  7. pack-objects: Allow missing base objects when creating thin packsShawn O. Pearce, Aug 12, 2008
  8. Nicolas PitreAug 12, 2008
  9. Shawn O. PearceAug 12, 2008
  10. Nicolas PitreAug 12, 2008
  11. pack-objects: Allow missing base objects when creating thin packsShawn O. Pearce, Aug 12, 2008
  12. Nicolas PitreAug 12, 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.