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

[PATCH 0/8] Updated git-gc --auto series.

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 17, 2007, 08:27 UTC
Message-ID
<1190017633436-git-send-email-gitster@pobox.com>

An updated series of "git-gc --auto", on top of 'next', consisting of 8 patches, will follow this message.

Differences from the previous round are:
 - Earlier if you have too many unreachable loose objects,
   automated gc would have tried to "repack -d -l" which would
   not improve the situation at all every time it was run.  It
   now at least warns upon such a situation;
 - pack-objects learned --keep-unreachable option which helps
   "repack -a -d" not to lose packed but unreachable objects
   while repacking existing packs into a new pack;
 - repack learned -A option which is similar to -a but gives
   --keep-unreachable to underlying pack-objects;
 - "git-gc --auto" runs "git-repack -A -d -l" when there are too
   many packs in the repository;
 - These changes are documented ;-)
Next: Junio C Hamano
Message 1 of 9 in “Updated git-gc --auto series.”
  1. 0/8 Updated git-gc --auto series.Junio C Hamano, Sep 17, 2007
  2. 1/8 Export matches_pack_name() and fix its return valueJunio C Hamano, Sep 17, 2007
  3. 2/8 pack-objects --keep-unreachableJunio C Hamano, Sep 17, 2007
  4. 3/8 repack -A -d: use --keep-unreachable when repackingJunio C Hamano, Sep 17, 2007
  5. 4/8 git-gc --auto: move threshold check to need_to_gc() function.Junio C Hamano, Sep 17, 2007
  6. 5/8 git-gc --auto: add documentation.Junio C Hamano, Sep 17, 2007
  7. 6/8 git-gc --auto: protect ourselves from accumulated cruftJunio C Hamano, Sep 17, 2007
  8. 7/8 git-gc --auto: restructure the way "repack" command line is built.Junio C Hamano, Sep 17, 2007
  9. 8/8 git-gc --auto: run "repack -A -d -l" as necessary.Junio C Hamano, Sep 17, 2007

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.