On Fri, 30 Mar 2029, Johannes Schindelin wrote: > Hi, > > On Mon, 10 Dec 2007, Nicolas Pitre wrote: > > > On Mon, 10 Dec 2007, Junio C Hamano wrote: > > > > > There are outstanding issues that need to be resolved: > > > > > > * We need to do something about "gc --aggressive". The documentation > > > removal patch from Linus, if it ever materializes, would be better > > > than nothing, but I have this nagging suspicion that the explosion is > > > merely a bad interation between -A and -f option to the repack, which > > > are not meant to be used together. > > > > Well, with the gcc repo, simply using 'git repack -a -f' with current > > default window size does produce a 2.1GB pack, while changing the window > > size to 100 (keeping default delta depth) produces a 400MB pack for me. > > > > So this is really a matter of not having a sufficiently large window for > > some data sets. > > So my dumb patch to simply default to window and depth 250 with > aggressive was not _that_ dumb after all? Probably not, although this might be rather wasteful on some repositories. But that's what expectations are for --aggressive. I wish we could find a way to set some good window default dynamically though. Or perhaps the filename hashing needs improvements. Nicolas - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html