Re: WARNING: THIS PATCH CAN BREAK YOUR REPO, was Re: [PATCH 2/3] Only repack active packs by skipping over kept packs.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 30, 2006, 23:24 UTC
- Message-ID
- <7vhcxltmit.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061030225500.GG3617@delft.aura.cs.cmu.edu>
Jan Harkes <jaharkes@cs.cmu.edu> writes:
Show 22 quoted lines
> On Mon, Oct 30, 2006 at 01:59:03PM -0800, Junio C Hamano wrote: >> Jan Harkes <jaharkes@cs.cmu.edu> writes: >> >> > The following patch does fix the problem Nicolas reported, but for some >> > reason I'm still getting only 102 objects (only tags and the commits >> > they refer to?) with your test. >> >> One potential downside of this is that this makes an obscure but >> useful "gitk --unpacked" useless (robs performance). >> >> http://thread.gmane.org/gmane.comp.version-control.git/19197/focus=19207 > > If I use 'git fetch' followed later on by a 'git fetch -k', the result > from --unpacked would not include the unpacked objects created by the > first fetch. Although it may have been fast, it seems to be somewhat > counter-intuitive. > >> But other than that, I think it is an Ok change. The original >> semantics of --unpacked (with or without "pretend as if objects >> in this pack are loose") were, eh, "strange". > > Do you need a resend with a proper 'Signed-Off-By' line?
Oh, I was planning to write a fairly detailed explanation myself, but the description with S-o-b by the original author would certainly be more appropriate. Thanks.