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

Re: [PATCH v2] pack-objects: Allow missing base objects when creating thin packs

From
Nicolas Pitre <nico@cam.org>
Date
Aug 12, 2008, 18:43 UTC
Message-ID
<alpine.LFD.1.10.0808121439150.22892@xanadu.home>
In-Reply-To
<20080812183106.GE31092@spearce.org>
On Tue, 12 Aug 2008, Shawn O. Pearce wrote:
Show 21 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 change allows a shallow clone to store only the objects which
> are unique to it, as well as the boundary commit and its trees, but
> avoids storing the boundary blobs.  This special form of a shallow
> clone is able to represent just the difference between two trees.
> 
> Pack objects change suggested by Nicolas Pitre.
> 
> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
> ---
> 
>  Nicolas Pitre <nico@cam.org> wrote:
>  > On Tue, 12 Aug 2008, Shawn O. Pearce wrote:
>  > I'm not talking about the last command but the "test $(git rev-parse 
>  > HEAD) = $B" line.
>  
>  Oh, right.  Good catch.
Acked-by: Nicolas Pitre <nico@cam.org>
Show 5 quoted lines
> +++ b/t/t5306-pack-nobase.sh
> @@ -0,0 +1,80 @@
> +#!/bin/sh
> +#
> +# Copyright (c) 2008 Google Inc.
Heh.  ;-)
Nicolas
Previous: Shawn O. Pearce
Message 12 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.