From: Wincent Colaiuta Date: Wed, 05 Sep 2007 08:51:09 GMT Subject: Re: People unaware of the importance of "git gc"? Message-ID: <65C61F04-EF05-4CB4-A4E2-BFF6601F46B9@wincent.com> In-Reply-To: <7vsl5tk1r8.fsf@gitster.siamese.dyndns.org> El 5/9/2007, a las 9:30, Junio C Hamano escribió: > Perhaps _exiting_ "git-commit" and "git-fetch" before doing > anything, when the repository has more than 5000 loose objects > with a LOUD bang that instructs an immediate repack would be > good? > > I really do not like the idea of automatically running a repack > after first interrupting the original command and then resuming. > For one thing it would make a horribly difficult situation to > debug if anything goes wrong. You cannot reproduce such a > situation easily. I would strongly oppose any *automatic* repacking and strongly support any *advisory* recommandation to repack when the loose object count exceeds a certain threshold. I don't think *exiting* a command in such cases is a good idea; worse than automatic repacking this would be *forced* manual repacking, which isn't very user-friendly. Cheers, Wincent