threads / patch / 9887

patch, 8 partsUpdated git-gc --auto series.

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

## tl;dr

One message between Sep 17, 2007 and Sep 17, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Junio C Hamano· Sep 17, 2007, 08:43 UTC · lore

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 ;-)

← back to recent threads