p5326: create missing 'perf-tag' tag

Some of the tests in test_full_bitmap rely on having a tag named perf-tag in place. We could create it in test_full_bitmap(), but we want to have it in place before the repack starts. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Taylor Blau committed Sep 14, 2021 at 18:06 UTC 2082224f17548d25ac8c582b4d12fa63963c988d
1 file changed +6
t/perf/p5326-multi-pack-bitmaps.sh
+6
@@ -10,6 +10,12 @@ test_expect_success 'enable multi-pack index' '
10 git config core.multiPackIndex true
11 '
12
13 +# we need to create the tag up front such that it is covered by the repack and
14 +# thus by generated bitmaps.
15 +test_expect_success 'create tags' '
16 + git tag --message="tag pointing to HEAD" perf-tag HEAD
17 +'
18 +
19 test_perf 'setup multi-pack index' '
20 git repack -ad &&
21 git multi-pack-index write --bitmap