Skip to content

git-repack --max-pack-size

Dana How git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 51 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8git-repack --max-pack-size: Add new file statics and struct fieldsbuiltin-pack-objects.c+12 -92 replies
1/8git-repack --max-pack-size: add new file staticsbuiltin-pack-objects.c+3 -12 replies
2/8git-repack --max-pack-size: minor code restructuringbuiltin-pack-objects.c+14 -80 replies
2/8git-repack --max-pack-size: code restructuringbuiltin-pack-objects.c+33 -310 replies
3/8git-repack --max-pack-size: make close optional in sha1close()csum-file.c+3 -00 replies
3/8git-repack --max-pack-size: make close optional in sha1close()csum-file.c+3 -02 replies
4/8git-repack --max-pack-size: add fixup_header_footer()builtin-pack-objects.c+40 -09 replies
4/8git-repack --max-pack-size: add fixup_header_footer()builtin-pack-objects.c+36 -07 replies
5/8get-repack --max-pack-size: write_object() takes 'limit' argbuiltin-pack-objects.c+58 -89 replies
5/8git-repack --max-pack-size: write_object() takes "limit" argbuiltin-pack-objects.c+86 -240 replies
6/8git-repack --max-pack-size: write_one() implements limitsbuiltin-pack-objects.c+10 -20 replies
6/8git-repack --max-pack-size: write_one() implements limitsbuiltin-pack-objects.c+8 -22 replies
7/8git-repack --max-pack-size: split packs as asked by write_object/write_onebuiltin-pack-objects.c+89 -370 replies
7/8git-repack --max-pack-size: split packs as asked by write_object/write_onebuiltin-pack-objects.c+87 -742 replies
8/8git-repack --max-pack-size: add option parsing to enable featurebuiltin-pack-objects.c git-repack.sh+16 -60 replies
8/8git-repack --max-pack-size: add option parsing to enable featurebuiltin-pack-objects.c git-repack.sh+16 -63 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/8] git-repack --max-pack-size

The three most common ways of making large packfiles are git-fast-import, the first git-repack, or git-repack -a. The first already supports a "--max-pack-size=N" option, which limits the resulting packfiles to N megabytes. This patchset adds the same option, with the same behavior, to git-repack to handle the other two cases.

This iteration fixes miscellaneous issues discussed on the list and introduces no behavior not seen elsewhere in git.
It is based on "next" in order to incorporate Nicolas Pitre's work.