From: Johan De Messemaeker Date: Wed, 05 Sep 2007 14:17:01 GMT Subject: Re: People unaware of the importance of "git gc"? Message-ID: In-Reply-To: On 05 Sep 2007, at 11:33, Matthieu Moy wrote: > > There's indeed a real idea behind that. The issue is that the alias > shouldn't be just "gc", but "find-all-repositories-and-do-gc-there". > > Currently, AFAIK, that can only be done with a (trivial) script > external to git. I suppose this can easily be added to the core git > porcelain. Perhaps a "git gc --recursive" would do. > > It doesn't solve the problem, but makes it easier to solve it (git gc > --recursive in cron for example). I'm a git newb so I can be wrong here but ... Why --recursive? Why not use the submodule-information ? Johan