Skip to content

Commit f6003df

Browse files
committed
removeGitConfig should follow nested submodule setting for not
1 parent 3ba5ee6 commit f6003df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/git-auth-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ class GitAuthHelper {
368368
await this.git.submoduleForeach(
369369
// wrap the pipeline in quotes to make sure it's handled properly by submoduleForeach, rather than just the first part of the pipeline
370370
`sh -c "git config --local --name-only --get-regexp '${pattern}' && git config --local --unset-all '${configKey}' || :"`,
371-
true
371+
this.settings.nestedSubmodules
372372
)
373373
}
374374
}

0 commit comments

Comments
 (0)