summaryrefslogtreecommitdiff
path: root/gitweb/README
diff options
context:
space:
mode:
authorLibravatar Derrick Stolee <dstolee@microsoft.com>2019-06-10 16:35:28 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-06-11 10:34:40 -0700
commit10bfa3f7f58406a5799267e4844fcd3f9ec16097 (patch)
tree8570b49aae949acd4703fd1f53e105f52f2fb75c /gitweb/README
parentmulti-pack-index: test expire while adding packs (diff)
downloadtgif-10bfa3f7f58406a5799267e4844fcd3f9ec16097.tar.xz
midx: add test that 'expire' respects .keep files
The 'git multi-pack-index expire' subcommand may delete packs that are not needed from the perspective of the multi-pack-index. If a pack has a .keep file, then we should not delete that pack. Add a test that ensures we preserve a pack that would otherwise be expired. First, create a new pack that contains every object in the repo, then add it to the multi-pack-index. Then create a .keep file for a pack starting with "a-pack" that was added in the previous test. Finally, expire and verify that the pack remains and the other packs were expired. Signed-off-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/README')
0 files changed, 0 insertions, 0 deletions