File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -559,10 +559,12 @@ class GitAuthHelper {
559559 const credentialsPaths = new Set();
560560 try {
561561 // Get all includeIf.gitdir keys
562- const keys = yield this.git.tryGetConfigKeys('^includeIf\\.gitdir:', false, configPath);
562+ const keys = yield this.git.tryGetConfigKeys('^includeIf\\.gitdir:', false, // globalConfig?
563+ configPath);
563564 for (const key of keys) {
564565 // Get all values for this key
565- const values = yield this.git.tryGetConfigValues(key, false, configPath);
566+ const values = yield this.git.tryGetConfigValues(key, false, // globalConfig?
567+ configPath);
566568 if (values.length > 0) {
567569 // Remove only values that match git-credentials-<uuid>.config pattern
568570 for (const value of values) {
Original file line number Diff line number Diff line change @@ -544,13 +544,17 @@ class GitAuthHelper {
544544 // Get all includeIf.gitdir keys
545545 const keys = await this . git . tryGetConfigKeys (
546546 '^includeIf\\.gitdir:' ,
547- false ,
547+ false , // globalConfig?
548548 configPath
549549 )
550550
551551 for ( const key of keys ) {
552552 // Get all values for this key
553- const values = await this . git . tryGetConfigValues ( key , false , configPath )
553+ const values = await this . git . tryGetConfigValues (
554+ key ,
555+ false , // globalConfig?
556+ configPath
557+ )
554558 if ( values . length > 0 ) {
555559 // Remove only values that match git-credentials-<uuid>.config pattern
556560 for ( const value of values ) {
You can’t perform that action at this time.
0 commit comments