From: Nicolas Pitre <nico@cam.org>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH v2] pack-objects: Allow missing base objects when creating thin packs
Date: Tue, 12 Aug 2008 14:43:45 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.1.10.0808121439150.22892@xanadu.home> (raw)
In-Reply-To: <20080812183106.GE31092@spearce.org>
On Tue, 12 Aug 2008, Shawn O. Pearce wrote:
> 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>
> +++ b/t/t5306-pack-nobase.sh
> @@ -0,0 +1,80 @@
> +#!/bin/sh
> +#
> +# Copyright (c) 2008 Google Inc.
Heh. ;-)
Nicolas
prev parent reply other threads:[~2008-08-12 18:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-11 18:28 RFC: Allow missing objects during packing Shawn O. Pearce
2008-08-11 22:39 ` Junio C Hamano
2008-08-11 22:44 ` Shawn O. Pearce
2008-08-12 1:28 ` Shawn O. Pearce
2008-08-12 2:08 ` Junio C Hamano
2008-08-12 4:44 ` Nicolas Pitre
2008-08-12 16:41 ` [PATCH] pack-objects: Allow missing base objects when creating thin packs Shawn O. Pearce
2008-08-12 18:12 ` Nicolas Pitre
2008-08-12 18:18 ` Shawn O. Pearce
2008-08-12 18:26 ` Nicolas Pitre
2008-08-12 18:31 ` [PATCH v2] " Shawn O. Pearce
2008-08-12 18:43 ` Nicolas Pitre [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LFD.1.10.0808121439150.22892@xanadu.home \
--to=nico@cam.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).