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

Re: does a successful 'git gc' imply 'git fsck'

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Dec 3, 2012, 13:46 UTC
Message-ID
<vpq4nk3uu39.fsf@grenoble-inp.fr>
In-Reply-To
<7vlidgls09.fsf@alter.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
> But a "gc" does not necessarily run "repack -a" when it does not see
> too many pack files, so it can end up scanning only the surface of
> the history to collect the recently created loose objects into a
> pack, and stop its traversal without going into existing packfiles.
Isn't that the behavior of "git gc --auto", not plain "git gc" ?
-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Sitaram ChamartyNext: Junio C Hamano
Message 6 of 7 in “does a successful 'git gc' imply 'git fsck'”
  1. Sitaram ChamartyDec 2, 2012
  2. Shawn PearceDec 2, 2012
  3. Sitaram ChamartyDec 2, 2012
  4. Junio C HamanoDec 2, 2012
  5. Sitaram ChamartyDec 3, 2012
  6. Matthieu MoyDec 3, 2012
  7. Junio C HamanoDec 3, 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.