Updated git-gc --auto series.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | Export matches_pack_name() and fix its return valuecache.h sha1_file.c | +8 | 0 replies | |
| 2/8 | pack-objects --keep-unreachablebuiltin-pack-objects.c | +93 | 0 replies | |
| 3/8 | repack -A -d: use --keep-unreachable when repackinggit-repack.sh | +11 | 0 replies | |
| 4/8 | git-gc --auto: move threshold check to need_to_gc() function.builtin-gc.c | +7 | 0 replies | |
| 5/8 | git-gc --auto: add documentation.Documentation/ Documentation/ | +17 | 0 replies | |
| 6/8 | git-gc --auto: protect ourselves from accumulated cruftbuiltin-gc.c | +17 | 0 replies | |
| 7/8 | git-gc --auto: restructure the way "repack" command line is built.builtin-gc.c | +10 | 0 replies | |
| 8/8 | git-gc --auto: run "repack -A -d -l" as necessary.Documentation/ Documentation/ builtin-gc.c | +64 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] Updated git-gc --auto series.
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 ;-)