Skip to content

Commit 1b22340

Browse files
pks-tgitster
authored andcommitted
t9500: write "extensions.refstorage" into config
In t9500 we're writing a custom configuration that sets up gitweb. This requires us to manually ensure that the repository format is configured as required, including both the repository format version and extensions. With the introduction of the "extensions.refStorage" extension we need to update the test to also write this new one. Signed-off-by: Patrick Steinhardt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5ed860f commit 1b22340

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/t9500-gitweb-standalone-no-errors.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ test_expect_success \
627627
test_expect_success 'setup' '
628628
version=$(git config core.repositoryformatversion) &&
629629
algo=$(test_might_fail git config extensions.objectformat) &&
630+
refstorage=$(test_might_fail git config extensions.refstorage) &&
630631
cat >.git/config <<-\EOF &&
631632
# testing noval and alternate separator
632633
[gitweb]
@@ -637,6 +638,10 @@ test_expect_success 'setup' '
637638
if test -n "$algo"
638639
then
639640
git config extensions.objectformat "$algo"
641+
fi &&
642+
if test -n "$refstorage"
643+
then
644+
git config extensions.refstorage "$refstorage"
640645
fi
641646
'
642647

0 commit comments

Comments
 (0)