Skip to content

Better "gc --aggressive"

Nguyễn Thái Ngọc Duy git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4environment.c: fix constness for odb_pack_keep()environment.c git-compat-util.h+2 -20 replies
2/4pack-objects: support --keepDocumentation/git-pack-objects.txt builtin/pack-objects.c+30 -00 replies
3/4gc --aggressive: make --depth configurableDocumentation/config.txt Documentation/git-gc.txt builtin/gc.c+15 -11 reply
4/4gc --aggressive: three phase repackingDocumentation/config.txt builtin/gc.c+124 -414 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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