diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2020-05-10 16:07:34 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-10 09:50:55 -0700 |
commit | 3ce4ca0a56afd4b67105dd580948973cecc79162 (patch) | |
tree | b9c4cccf0d17e6d1ebd1560d5c611fd75ba218f0 /t/t4013/diff.diff-tree_--root_--patch-with-raw_initial | |
parent | midx: teach "git multi-pack-index repack" honor "git repack" configurations (diff) | |
download | tgif-3ce4ca0a56afd4b67105dd580948973cecc79162.tar.xz |
multi-pack-index: respect repack.packKeptObjects=false
When selecting a batch of pack-files to repack in the "git
multi-pack-index repack" command, Git should respect the
repack.packKeptObjects config option. When false, this option says that
the pack-files with an associated ".keep" file should not be repacked.
This config value is "false" by default.
There are two cases for selecting a batch of objects. The first is the
case where the input batch-size is zero, which specifies "repack
everything". The second is with a non-zero batch size, which selects
pack-files using a greedy selection criteria. Both of these cases are
updated and tested.
Reported-by: Son Luong Ngoc <sluongng@gmail.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--root_--patch-with-raw_initial')
0 files changed, 0 insertions, 0 deletions