From: Martin Langhoff Date: Wed, 05 Sep 2007 07:21:29 GMT Subject: Re: People unaware of the importance of "git gc"? Message-ID: <46a038f90709050021o5cdcc976xd099242aeb70643d@mail.gmail.com> In-Reply-To: On 9/5/07, Linus Torvalds wrote: > I personally repack everything way more often than is necessary, and I had > kind of assumed that people did it that way, but I was apparently wrong. > Comments? (resent with CC to git@) I never followed up on one of your suggestions back in the day -- that we printed an informational msg along the lines of "you have X loose objects, it's about time to repack" after some operations (fetch, merge, commit). These days it's all C, so I'll pass the buck to people that actually know how to do printf() ;-) Also -- early users got everything exploded during clone, James is probable one of them. It is the worst case scenario, really. Users of a modern git will start off with a large packs, and accumulate little packs from pulls, so it's not as bad. In fact, in James' case, it would have been way way way faster to "steal" the packs from git.kernel.org via http (or your laptop) and _then_ repack. He'd been sorted in a minute. cheers, martin