Skip to content

Commit

Permalink
fix git getter
Browse files Browse the repository at this point in the history
  • Loading branch information
claire-labry committed Oct 25, 2022
1 parent d5725c7 commit bad826d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions get_git_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,9 @@ func TestGitGetter_submodule(t *testing.T) {

// Set up the grandchild
gc := testGitRepo(t, "grandchild")
// Due to CVE-2022-39253 (https://github.blog/2022-10-18-git-security-vulnerabilities-announced/#cve-2022-39253)
// we are allowing file transport globally.
gc.git("config", "--global", "protocol.file.allow", "always")
gc.commitFile("grandchild.txt", "grandchild")

// Set up the child
Expand Down

0 comments on commit bad826d

Please sign in to comment.