Skip to content

Commit 6ff23aa

Browse files
authored
Merge pull request #103 from github/allow-file-protocol
test: fix tests use of 'file' protocol
2 parents cc6b856 + 2c988fa commit 6ff23aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_sizer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ func TestSubmodule(t *testing.T) {
701701
require.NoError(t, cmd.Run(), "creating main commit")
702702

703703
// Make subm a submodule of main:
704-
cmd = mainRepo.GitCommand(t, "submodule", "add", submRepo.Path, "sub")
704+
cmd = mainRepo.GitCommand(t, "-c", "protocol.file.allow=always", "submodule", "add", submRepo.Path, "sub")
705705
cmd.Dir = mainRepo.Path
706706
require.NoError(t, cmd.Run(), "adding submodule")
707707

0 commit comments

Comments
 (0)