|
|
@ -341,10 +341,12 @@ class GitAuthHelper {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const pattern = regexpHelper.escape(configKey)
|
|
|
|
if (this.settings.submodules) {
|
|
|
|
await this.git.submoduleForeach(
|
|
|
|
const pattern = regexpHelper.escape(configKey)
|
|
|
|
`git config --local --name-only --get-regexp '${pattern}' && git config --local --unset-all '${configKey}' || :`,
|
|
|
|
await this.git.submoduleForeach(
|
|
|
|
true
|
|
|
|
`git config --local --name-only --get-regexp '${pattern}' && git config --local --unset-all '${configKey}' || :`,
|
|
|
|
)
|
|
|
|
true
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|