path: root/t/perf
diff options
authorTaylor Blau <>2021-09-14 22:06:09 (GMT)
committerJunio C Hamano <>2021-09-14 23:34:18 (GMT)
commit2082224f17548d25ac8c582b4d12fa63963c988d (patch)
tree70a98e7d632e8954e8c743620ee5f73b7f894449 /t/perf
parentcaca3c9f07f90645e32c284c88c379109abf59be (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't/perf')
1 files changed, 6 insertions, 0 deletions
diff --git a/t/perf/ b/t/perf/
index 5845109..51b5636 100755
--- a/t/perf/
+++ b/t/perf/
@@ -10,6 +10,12 @@ test_expect_success 'enable multi-pack index' '
git config core.multiPackIndex true
+# we need to create the tag up front such that it is covered by the repack and
+# thus by generated bitmaps.
+test_expect_success 'create tags' '
+ git tag --message="tag pointing to HEAD" perf-tag HEAD
test_perf 'setup multi-pack index' '
git repack -ad &&
git multi-pack-index write --bitmap