From: Junio C Hamano Date: Wed, 14 Jan 2015 17:24:35 GMT Subject: Re: Big repo not shrinking on repack or gc? Message-ID: In-Reply-To: <20150114143946.GE13247@inner.h.apk.li> Andreas Krey writes: > On Wed, 14 Jan 2015 07:49:36 +0000, Jeff King wrote: > ... >> You don't need the "-f" here. Just "git repack -ad" should be enough >> (and the "-f" probably makes it _way_ slower). > > Indeed, factor four. > > However, my expectation is that a repack -ad will remove all the > old pack files, as what is in there is either referenced and put > into the new pack, or dropped => there should be a single pack file > afterwards. > > This is not the case. :-( (Done only with 1.8.2 due to > lack of compilers for this box.) Guess in the dark: "ls -l .git/objects/pack" Do you see any .keep files?