summaryrefslogtreecommitdiff
path: root/t/perf
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-06-10 16:20:30 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-06-10 14:05:19 -0700
commit71d76cb48029c94af022ea9dc9c74b4ba8bcc3a3 (patch)
tree5632c4870f1acdcb47d3d6f9661728c09786e94c /t/perf
parentrepack: simplify handling of --write-bitmap-index (diff)
downloadtgif-71d76cb48029c94af022ea9dc9c74b4ba8bcc3a3.tar.xz
repack: introduce repack.writeBitmaps config option
We currently have pack.writeBitmaps, which originally operated at the pack-objects level. This should really have been a repack.* option from day one. Let's give it the more sensible name, but keep the old version as a deprecated synonym. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/perf')
-rwxr-xr-xt/perf/p5310-pack-bitmaps.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/perf/p5310-pack-bitmaps.sh b/t/perf/p5310-pack-bitmaps.sh
index 685d46f8b7..f8ed8573b7 100755
--- a/t/perf/p5310-pack-bitmaps.sh
+++ b/t/perf/p5310-pack-bitmaps.sh
@@ -8,6 +8,9 @@ test_perf_large_repo
# note that we do everything through config,
# since we want to be able to compare bitmap-aware
# git versus non-bitmap git
+#
+# We intentionally use the deprecated pack.writebitmaps
+# config so that we can test against older versions of git.
test_expect_success 'setup bitmap config' '
git config pack.writebitmaps true &&
git config pack.writebitmaphashcache true