diff --git a/src/vs/workbench/api/node/mainThreadSCM.ts b/src/vs/workbench/api/node/mainThreadSCM.ts index 76f7f976ea1..130ff149de3 100644 --- a/src/vs/workbench/api/node/mainThreadSCM.ts +++ b/src/vs/workbench/api/node/mainThreadSCM.ts @@ -98,6 +98,10 @@ class MainThreadSCMProvider implements ISCMProvider { ) { } $updateSourceControl(features: SCMProviderFeatures): void { + if ('count' in features) { + this._count = features.count; + } + this.features = assign(this.features, features); this._onDidChange.fire();