From: Steven Grimm Date: Thu, 06 Sep 2007 02:49:12 GMT Subject: Re: People unaware of the importance of "git gc"? Message-ID: <46DF6AA8.60804@midwinter.com> In-Reply-To: <20070906024555.GJ18160@spearce.org> Shawn O. Pearce wrote: > But this suffers from the same fate if the user sets gc.auto too > small and doesn't realize that the reason Git is always repacking > is because over the last 6 months they have been unlucky enough to > stage the magic number of unreachable blobs into the 17 directory > and they have *never* run `git gc --prune` because the auto thing > is working just fine for them and they don't realize they need to > prune every once in a blue moon. > Check the modification times on those files and don't count ones that are older than the last git-gc run, maybe? That'd take care of the problem. -Steve