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, 21:59 UTC
- Message-ID
- <7v3b95wjmg.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061030205200.GA20236@delft.aura.cs.cmu.edu>
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
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".