From: Jan Harkes Date: Mon, 30 Oct 2006 22:55:00 GMT Subject: Re: WARNING: THIS PATCH CAN BREAK YOUR REPO, was Re: [PATCH 2/3] Only repack active packs by skipping over kept packs. Message-ID: <20061030225500.GG3617@delft.aura.cs.cmu.edu> In-Reply-To: <7v3b95wjmg.fsf@assigned-by-dhcp.cox.net> On Mon, Oct 30, 2006 at 01:59:03PM -0800, Junio C Hamano wrote: > Jan Harkes 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? Jan