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

Why gc --auto is called so rarely?

From
Ilya Kantor <iliakan@gmail.com>
Date
Nov 19, 2017, 14:55 UTC
Message-ID
<CAFU8umg-utVnUZadvkp-6pA7Oj+-z2pBdfUR64BnyBnprVzoyw@mail.gmail.com>
Hello,

I tried to find places where git gc --auto is called, and found that there's only a few.

First, in *some* merges. That is, if there was a conflict during the merge, that is resolved, then it's not called.

Then in
* receive-pack
* fetch
* am
Is there any logic in such assignments? Why there?

In particular, gc --auto was called in commits earlier, but not in the recent versions of git.

--- Best Regards, Ilya Kantor

Message 1 of 1 in “Why gc --auto is called so rarely?”
  1. Ilya KantorNov 19, 2017

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.