From bd8a10e43f0a92fbb2b048a20cf3e766cf5b7370 Mon Sep 17 00:00:00 2001 From: Joao Moreno Date: Thu, 12 Jan 2017 16:08:52 +0100 Subject: [PATCH] git: show output command --- extensions/git/src/commands.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extensions/git/src/commands.ts b/extensions/git/src/commands.ts index cee7d2468ea..4bb71931e2b 100644 --- a/extensions/git/src/commands.ts +++ b/extensions/git/src/commands.ts @@ -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()); }