From: Linus Torvalds Date: Sat, 19 Nov 2005 17:56:59 GMT Subject: Re: [QUESTION] Access to a huge GIT repository. Message-ID: In-Reply-To: On Sat, 19 Nov 2005, Franck wrote: > > Then by running git-repack -a -d, I build a new small pack that > contains only latest objects, but then the script runs > git-redundant-pack script which erases the new small one since all its > objects are included in the old big one. Is that correct ? Gaah. The git-redundant-pack logic has totally broken "git repack -a -d" Junio, can we undo that, please? With "-a", redundant pack removal is trivial (and we used to do it right, exactly because it is trivial), and without "-a", redundant pack removal is pointless (since it will never pack objects that are already packed). So "git repack" should _never_ call git-redundant-pack. It's always either wrong or pointless. git-redundant-pack is great for "git prune", not for repack. Linus