summaryrefslogtreecommitdiff
path: root/t/perf/p5326-multi-pack-bitmaps.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/perf/p5326-multi-pack-bitmaps.sh')
-rwxr-xr-xt/perf/p5326-multi-pack-bitmaps.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/perf/p5326-multi-pack-bitmaps.sh b/t/perf/p5326-multi-pack-bitmaps.sh
index 5845109..51b5636 100755
--- a/t/perf/p5326-multi-pack-bitmaps.sh
+++ b/t/perf/p5326-multi-pack-bitmaps.sh
@@ -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