git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Stefan Zager
Message 12 of 12 in “submodule update --force”
  1. Stefan ZagerMay 9, 2012
  2. Junio C HamanoMay 10, 2012
  3. Junio C HamanoMay 10, 2012
  4. Stefan ZagerMay 10, 2012
  5. Junio C HamanoMay 10, 2012
  6. Heiko VoigtMay 10, 2012
  7. Phil HordMay 11, 2012
  8. Heiko VoigtMay 14, 2012
  9. Stefan ZagerMay 14, 2012
  10. Heiko VoigtMay 14, 2012
  11. Stefan ZagerMay 14, 2012
  12. Heiko VoigtMay 14, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.