summaryrefslogtreecommitdiff
path: root/pkt-line.c
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2020-05-10 16:07:34 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-05-10 09:50:55 -0700
commit3ce4ca0a56afd4b67105dd580948973cecc79162 (patch)
treeb9c4cccf0d17e6d1ebd1560d5c611fd75ba218f0 /pkt-line.c
parentmidx: teach "git multi-pack-index repack" honor "git repack" configurations (diff)
downloadtgif-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 'pkt-line.c')
0 files changed, 0 insertions, 0 deletions