From: Heiko Voigt Date: Mon, 14 May 2012 20:16:15 GMT Subject: Re: submodule update --force Message-ID: <20120514201615.GI58058@book.hvoigt.net> In-Reply-To: On Mon, May 14, 2012 at 12:29:02PM -0700, Stefan Zager wrote: > On Mon, May 14, 2012 at 12:18 PM, Heiko Voigt 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