Better "gc --aggressive"
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | environment.c: fix constness for odb_pack_keep()environment.c git-compat-util.h | +2 | 0 replies | |
| 2/4 | pack-objects: support --keepDocumentation/ builtin/ | +30 | 0 replies | |
| 3/4 | gc --aggressive: make --depth configurableDocumentation/ Documentation/ builtin/ | +15 | 1 reply | |
| 4/4 | gc --aggressive: three phase repackingDocumentation/ builtin/ | +124 | 14 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Better "gc --aggressive"
See [1] for the discussion that led to this series. It attempts to pack the repo with two different depths: old history tightly packed (smaller but also takes longer time to access) and recent history on the opposite.
First draft, probably still some bugs lurking in pack_old_history(). It would be great if people could try it out on large repos and report back the results (pack size between the old and new aggressive, gc time, git log and blame speed...)
[1] http://thread.gmane.org/gmane.comp.version-control.git/242277
Nguyễn Thái Ngọc Duy (4):
environment.c: fix constness for odb_pack_keep()
pack-objects: support --keep
gc --aggressive: make --depth configurable gc --aggressive: three phase repacking
Documentation/config.txt | 24 ++++++++ Documentation/git-gc.txt | 3 + Documentation/git-pack-objects.txt | 4 ++ builtin/gc.c | 113 ++++++++++++++++++++++++++++++++++++- builtin/pack-objects.c | 26 +++++++++ environment.c | 2 +- git-compat-util.h | 2 +- 7 files changed, 169 insertions(+), 5 deletions(-)
Signature · 1 line
1.9.0.40.gaa8c3ea