1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-07-13 20:50:45 +00:00

removeGitConfig should follow nested submodule setting for not

This commit is contained in:
Date Huang 2022-12-17 11:58:49 +00:00
parent 3ba5ee6fac
commit 72546633e7
2 changed files with 3 additions and 3 deletions

View file

@ -368,7 +368,7 @@ class GitAuthHelper {
await this.git.submoduleForeach(
// wrap the pipeline in quotes to make sure it's handled properly by submoduleForeach, rather than just the first part of the pipeline
`sh -c "git config --local --name-only --get-regexp '${pattern}' && git config --local --unset-all '${configKey}' || :"`,
true
this.settings.nestedSubmodules
)
}
}