Skip to content

nd/repack-keep-pack update

Nguyễn Thái Ngọc Duy git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 1 replyIn review
  2. v17 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7t7700: have closing quote of a test at the beginning of linet/t7700-repack.sh+1 -10 replies
2/7repack: add --keep-pack optionDocumentation/git-pack-objects.txt Documentation/git-repack.txt builtin/pack-objects.c +3 more+110 -180 replies
3/7gc: add --keep-largest-pack optionDocumentation/git-gc.txt builtin/gc.c t/t6500-gc.sh+71 -50 replies
4/7gc: add gc.bigPackThreshold configDocumentation/config.txt Documentation/git-gc.txt builtin/gc.c+31 -80 replies
5/7gc: handle a corner case in gc.bigPackThresholdDocumentation/config.txt builtin/gc.c+12 -10 replies
6/7gc --auto: exclude base pack if not enough mem to "repack -ad"Documentation/git-gc.txt builtin/gc.c builtin/pack-objects.c +4 more+119 -40 replies
7/7pack-objects: show some progress when counting kept objectsbuiltin/pack-objects.c+12 -60 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/7] nd/repack-keep-pack update
Quoted 4 lines · Ævar Arnfjörð Bjarmason

The only (trivial) issue I found in the patches themselves was that between 4/5 and 5/7 you're adding an empty line to config.txt in 4/7 just to erase it in 5/7, better not to add it to begin with, but hopefully Junio can fix that up (if he cares).

Fixed (and is the only change in v2) in case Junio has not picked up the last round and fixed it himself yet.

Nguyễn Thái Ngọc Duy (7):
t7700: have closing quote of a test at the beginning of line
repack: add --keep-pack option
gc: add --keep-largest-pack option
gc: add gc.bigPackThreshold config
gc: handle a corner case in gc.bigPackThreshold
gc --auto: exclude base pack if not enough mem to "repack -ad"
pack-objects: show some progress when counting kept objects

 Documentation/config.txt           |  12 +++
 Documentation/git-gc.txt           |  19 +++-
 Documentation/git-pack-objects.txt |   9 +-
 Documentation/git-repack.txt       |   9 +-
 builtin/gc.c                       | 165 +++++++++++++++++++++++++++--
 builtin/pack-objects.c             |  83 +++++++++++----
 builtin/repack.c                   |  21 +++-
 config.mak.uname                   |   1 +
 git-compat-util.h                  |   4 +
 object-store.h                     |   1 +
 pack-objects.h                     |   2 +
 t/t6500-gc.sh                      |  32 ++++++
 t/t7700-repack.sh                  |  27 ++++-
 13 files changed, 349 insertions(+), 36 deletions(-)
Signature · 1 line
2.17.0.367.g5dd2e386c3