Skip to content

Commit 2b03845

Browse files
committed
💄
1 parent da1a35a commit 2b03845

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎extensions/git/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@
10021002
"default": false,
10031003
"description": "%config.alwaysSignOff%"
10041004
},
1005-
"git.ignoreRepositories": {
1005+
"git.ignoredRepositories": {
10061006
"type": "array",
10071007
"default": [],
10081008
"scope": "window",

‎extensions/git/src/model.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ export class Model {
190190

191191
const config = workspace.getConfiguration('git', Uri.file(path));
192192
const enabled = config.get<boolean>('enabled') === true;
193-
const ignoredRepos = new Set(config.get<Array<string>>('ignoreRepositories'));
194193

195194
if (!enabled) {
196195
return;
@@ -208,6 +207,9 @@ export class Model {
208207
return;
209208
}
210209

210+
const config = workspace.getConfiguration('git');
211+
const ignoredRepos = new Set(config.get<Array<string>>('ignoredRepositories'));
212+
211213
if (ignoredRepos.has(rawRoot)) {
212214
return;
213215
}

0 commit comments

Comments
 (0)