Revert file transport setting

This commit is contained in:
Markus Olsson 2022-10-18 20:35:17 +02:00
parent 0c79553b8c
commit 7cd667172c

View file

@ -57,7 +57,16 @@ describe('git/rev-parse', () => {
secondRepoPath,
''
)
await git(['submodule', 'add', '../repo2'], firstRepoPath, '')
await git(
[
// Git 2.38 (backported into 2.35.5) changed the default here to 'user'
...['-c', 'protocol.file.allow=always'],
...['submodule', 'add', '../repo2'],
],
firstRepoPath,
''
)
expect(await getRepositoryType(firstRepoPath)).toMatchObject({
kind: 'regular',