From c4472b4d451eb10ebe0d54827a0f1c98e860b2a0 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Thu, 26 Oct 2017 00:29:45 -0400 Subject: [PATCH] Fixes remotes not always detected on startup --- src/git/gitContextTracker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git/gitContextTracker.ts b/src/git/gitContextTracker.ts index 92a1222..514d84d 100644 --- a/src/git/gitContextTracker.ts +++ b/src/git/gitContextTracker.ts @@ -62,7 +62,7 @@ export class GitContextTracker extends Disposable { ]; this._disposable = Disposable.from(...subscriptions); - this.onActiveTextEditorChanged(window.activeTextEditor); + this.updateContext(BlameabilityChangeReason.EditorChanged, window.activeTextEditor, true); } } }