Git - close repository improvements (#184708)

* Initial implementation

* Move ObservableSet into a separate file

* Add quick pick for reopening closed repositories

* Fix issue with initializing the context key

* Add welcome views
This commit is contained in:
Ladislau Szomoru
2023-06-09 13:19:57 +02:00
committed by GitHub
parent e913a2e547
commit 9979f9cc3c
7 changed files with 177 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ async function createModel(context: ExtensionContext, logger: LogOutputChannel,
version: info.version,
env: environment,
});
const model = new Model(git, askpass, context.globalState, logger, telemetryReporter);
const model = new Model(git, askpass, context.globalState, context.workspaceState, logger, telemetryReporter);
disposables.push(model);
const onRepository = () => commands.executeCommand('setContext', 'gitOpenRepositoryCount', `${model.repositories.length}`);