Re: [PATCH v2 07/24] multi-pack-index: expand test data

2018-06-25 Thread Junio C Hamano
Derrick Stolee writes: > test_expect_success 'write midx with no packs' ' > + test_when_finished rm pack/multi-pack-index && It is generally a good idea to give "-f" to "rm" used in test_when_finished. The main command sequence may have failed before it has a chance to create that file; ev

[PATCH v2 07/24] multi-pack-index: expand test data

2018-06-25 Thread Derrick Stolee
As we build the multi-pack-index file format, we want to test the format on real repoasitories. Add tests to t5319-multi-pack-index.sh that create repository data including multiple packfiles with both version 1 and version 2 formats. The current 'git multi-pack-index write' command will always wr