Re: People unaware of the importance of "git gc"?
On 05 Sep 2007, at 11:33, Matthieu Moy wrote:
Show 10 quoted lines
>
> 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