From: Nicolas Pitre <nico@cam.org>
To: Dana How <danahow@gmail.com>
Cc: Junio C Hamano <junkio@cox.net>, git@vger.kernel.org
Subject: Re: [PATCH 08/13] prevent try_delta from using objects not in pack
Date: Thu, 05 Apr 2007 23:27:14 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.0.98.0704052320560.28181@xanadu.home> (raw)
In-Reply-To: <56b7f5510704051928l5d1f5a02yccc8e57c222e5f64@mail.gmail.com>
On Thu, 5 Apr 2007, Dana How wrote:
> On 4/5/07, Nicolas Pitre <nico@cam.org> wrote:
> > What is the purpose of this patch?
> >
> > The try_delta() function is called with all objects before any object is
> > written to a pack to find out how to deltify objects upfront.
>
> I set no_write for 2 different reasons in the patchset.
> (1) When the blob is too big (--blob-limit) and will never be written.
> (2) When the blob has been written to a previous, finished pack.
>
> You're correct that this patch will never see condition (2).
Given that I proposed another way for big blobs in my previous email,
then (1) should not be needed either.
> I think my repository statistics are a little unusual.
> Perhaps I'm getting ahead of myself here,
> but I also wanted to experiment with writing all blobs to one set
> of packs, and all trees, commits, and tags to another set
> (but probably just one small pack).
> I would use no_write for that and it would matter here.
Again you should simply _not_ add objects you don't want to the list
instead of adding them and marking them as unwanted.
Nicolas
next prev parent reply other threads:[~2007-04-06 3:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-05 22:35 [PATCH 08/13] prevent try_delta from using objects not in pack Dana How
2007-04-05 23:04 ` Junio C Hamano
2007-04-06 1:02 ` Nicolas Pitre
2007-04-06 2:28 ` Dana How
2007-04-06 3:27 ` Nicolas Pitre [this message]
2007-04-06 3:47 ` Dana How
2007-04-06 14:59 ` Nicolas Pitre
2007-04-06 18:17 ` Dana How
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.0.98.0704052320560.28181@xanadu.home \
--to=nico@cam.org \
--cc=danahow@gmail.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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).