diff options
author | Derrick Stolee <dstolee@microsoft.com> | 2019-06-10 16:35:29 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-11 10:34:41 -0700 |
commit | b526d8cbbb8740faa10411caa757c6586395fcab (patch) | |
tree | 08923af329ca10a7318797179d0911b890053abc /userdiff.h | |
parent | midx: add test that 'expire' respects .keep files (diff) | |
download | tgif-b526d8cbbb8740faa10411caa757c6586395fcab.tar.xz |
t5319-multi-pack-index.sh: test batch size zero
The 'git multi-pack-index repack' command can take a batch size of
zero, which creates a new pack-file containing all objects in the
multi-pack-index. The first 'repack' command will create one new
pack-file, and an 'expire' command after that will delete the old
pack-files, as they no longer contain any referenced objects in the
multi-pack-index.
We must remove the .keep file that was added in the previous test
in order to expire that pack-file.
Also test that a 'repack' will do nothing if there is only one
pack-file.
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'userdiff.h')
0 files changed, 0 insertions, 0 deletions