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

Hosting Git repositories: how useful will git-gc be?

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Sep 3, 2009, 09:45 UTC
Message-ID
<vpq1vmo9xai.fsf@bauges.imag.fr>
Hi,

I'm helping my sysadmin to set up some Git repository hosting via gitosis. I'm trying to keep it as simple as possible.

A question: is it necessary/recommanded/useless to set up a cron job doing a "git gc" in each repository? My understanding is that a push through ssh will do some packing, is it correct? Does receiving a pack trigger a "git gc --auto"?

Thanks,
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Next: Jeff King
Message 1 of 2 in “Hosting Git repositories: how useful will git-gc be?”
  1. Matthieu MoySep 3, 2009
  2. Jeff KingSep 5, 2009

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.