mirror of
https://github.com/git/git
synced 2024-11-05 01:58:18 +00:00
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 <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
5ed860f51b
commit
1b2234079b
1 changed files with 5 additions and 0 deletions
|
@ -627,6 +627,7 @@ test_expect_success \
|
|||
test_expect_success 'setup' '
|
||||
version=$(git config core.repositoryformatversion) &&
|
||||
algo=$(test_might_fail git config extensions.objectformat) &&
|
||||
refstorage=$(test_might_fail git config extensions.refstorage) &&
|
||||
cat >.git/config <<-\EOF &&
|
||||
# testing noval and alternate separator
|
||||
[gitweb]
|
||||
|
@ -637,6 +638,10 @@ test_expect_success 'setup' '
|
|||
if test -n "$algo"
|
||||
then
|
||||
git config extensions.objectformat "$algo"
|
||||
fi &&
|
||||
if test -n "$refstorage"
|
||||
then
|
||||
git config extensions.refstorage "$refstorage"
|
||||
fi
|
||||
'
|
||||
|
||||
|
|
Loading…
Reference in a new issue