Re: submodule update --force
- From
Heiko Voigt <hvoigt@hvoigt.net>
- Date
- May 14, 2012, 20:16 UTC
- Message-ID
- <20120514201615.GI58058@book.hvoigt.net>
- In-Reply-To
- <CAHOQ7J8Wq+jHdghgNEGD+7aWNCv3rpPu1erCK4V_pu3sgXQLxA@mail.gmail.com>
On Mon, May 14, 2012 at 12:29:02PM -0700, Stefan Zager wrote:
Show 12 quoted lines
> On Mon, May 14, 2012 at 12:18 PM, Heiko Voigt <hvoigt@hvoigt.net> wrote: > > > On a side note: I am surprised that cloning through git is really that > > much slower than copying a zip from the network. Do you run git gc > > regularly enough on the server? > > Don't know about running `git gc`, but I can tell you that the > 'resolving deltas' step on the client side is very slow; anecdotally, > it appears to take longer than the network transfer. We also would > like to relieve the server of the burden of creating large pack files > many times a day (the repo is frequently cloned). I'll check to see > whether `git gc` can help us.
I do not think you need to do this many times a day a cronjob during the night should be sufficient. Maybe also do a gc --aggressive one a week?
Cheers Heiko