scm: multiroot refresh

This commit is contained in:
Joao Moreno
2017-08-16 12:51:30 +02:00
parent 3db1cf08d6
commit d7a2be05b6
7 changed files with 66 additions and 6 deletions

View File

@@ -307,6 +307,14 @@ export class ExtHostSCM {
}
return sourceControl.getResourceGroup(arg.groupHandle);
} else if (arg && arg.$mid === 5) {
const sourceControl = this._sourceControls.get(arg.handle);
if (!sourceControl) {
return arg;
}
return sourceControl;
}
return arg;