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

Re: Why gc --auto is called so rarely?

From
IKIlya Kantor <ilya.a.kantor@icloud.com>
Date
Nov 19, 2017, 17:04 UTC
Message-ID
<C47F730C-18AE-411E-AC57-2DA8625451C4@icloud.com>
...It seems sane to git gc --auto from command that are expected to take time.
That's probably the reason why it's not called on commits and called on receive-pack. 

But then why call it on merges? Especially on those that have no conflicts and should run fast. Also, merges are not supposed to introduce unreachable objects.

P.S. The old gmane discussion referenced by some previous posts on this subject is lost.
Next: Eric Sunshine
Message 1 of 3 in “Re: Why gc --auto is called so rarely?”
  1. Ilya KantorNov 19, 2017
  2. Eric SunshineNov 19, 2017
  3. Junio C HamanoNov 20, 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.