summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-05-23 05:38:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-23 05:38:12 (GMT)
commitc4e7220f0873086f1f1e3dffc9b2d9964f93636b (patch)
treed0c6f2869e4d34fa590d7739356e96037d887fbb
parentb5771985263f4bcf500b71e6b0a2fe1164f612a0 (diff)
parent87a6bb701a04d4543314f6f7172f2f95fa298d29 (diff)
downloadgit-c4e7220f0873086f1f1e3dffc9b2d9964f93636b.zip
git-c4e7220f0873086f1f1e3dffc9b2d9964f93636b.tar.gz
git-c4e7220f0873086f1f1e3dffc9b2d9964f93636b.tar.bz2
Merge branch 'sg/t5310-jgit-bitmap-test'
Test update. * sg/t5310-jgit-bitmap-test: t5310-pack-bitmaps: make JGit tests work with GIT_TEST_SPLIT_INDEX
-rwxr-xr-xt/t5310-pack-bitmaps.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t5310-pack-bitmaps.sh b/t/t5310-pack-bitmaps.sh
index f6d600f..423c0a4 100755
--- a/t/t5310-pack-bitmaps.sh
+++ b/t/t5310-pack-bitmaps.sh
@@ -264,9 +264,9 @@ test_expect_success 'pack with missing parent' '
'
test_expect_success JGIT 'we can read jgit bitmaps' '
- git clone . compat-jgit &&
+ git clone --bare . compat-jgit.git &&
(
- cd compat-jgit &&
+ cd compat-jgit.git &&
rm -f .git/objects/pack/*.bitmap &&
jgit gc &&
git rev-list --test-bitmap HEAD
@@ -274,9 +274,9 @@ test_expect_success JGIT 'we can read jgit bitmaps' '
'
test_expect_success JGIT 'jgit can read our bitmaps' '
- git clone . compat-us &&
+ git clone --bare . compat-us.git &&
(
- cd compat-us &&
+ cd compat-us.git &&
git repack -adb &&
# jgit gc will barf if it does not like our bitmaps
jgit gc