mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-08 07:44:33 +01:00
git: show output command
This commit is contained in:
@@ -113,6 +113,7 @@ export class CommandCenter {
|
||||
commands.registerCommand('git.checkout', this.checkout, this),
|
||||
commands.registerCommand('git.sync', this.sync, this),
|
||||
commands.registerCommand('git.publish', this.publish, this),
|
||||
commands.registerCommand('git.showOutput', this.showOutput, this),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -323,6 +324,10 @@ export class CommandCenter {
|
||||
await this.model.push(choice, branchName, { setUpstream: true });
|
||||
}
|
||||
|
||||
showOutput(): void {
|
||||
this.outputChannel.show();
|
||||
}
|
||||
|
||||
dispose(): void {
|
||||
this.disposables.forEach(d => d.dispose());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user