Limits schemes for Git timeline provider

This commit is contained in:
Eric Amodio
2020-03-01 11:32:59 -05:00
parent 634522a6ed
commit a5225d02a8

View File

@@ -80,7 +80,7 @@ export class GitTimelineProvider implements TimelineProvider {
constructor(private readonly _model: Model) {
this._disposable = Disposable.from(
_model.onDidOpenRepository(this.onRepositoriesChanged, this),
workspace.registerTimelineProvider('*', this),
workspace.registerTimelineProvider(['file', 'git', 'gitlens-git'], this),
);
}