Merge from vscode 718331d6f3ebd1b571530ab499edb266ddd493d5

This commit is contained in:
ADS Merger
2020-02-08 04:50:58 +00:00
parent 8c61538a27
commit 2af13c18d2
752 changed files with 16458 additions and 10063 deletions

View File

@@ -97,6 +97,10 @@ class SCMRepository implements ISCMRepository {
}
setSelected(selected: boolean): void {
if (this._selected === selected) {
return;
}
this._selected = selected;
this._onDidChangeSelection.fire(selected);
}
@@ -158,11 +162,6 @@ export class SCMService implements ISCMService {
this._repositories.push(repository);
this._onDidAddProvider.fire(repository);
// automatically select the first repository
if (this._repositories.length === 1) {
repository.setSelected(true);
}
return repository;
}