From 372ca2ee9c7ac0c7b3cfa2aeb963ffef9bd1a9a2 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Fri, 21 Apr 2017 12:02:02 +0200 Subject: [PATCH] :bug: fixes #24026 --- src/vs/workbench/api/node/mainThreadSCM.ts | 4 ++++ 1 file changed, 4 insertions(+) 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();