Allows showQuickRepoHistory w/o opened editor

It falls back to the folder repository
This commit is contained in:
Eric Amodio
2016-11-23 16:48:44 -05:00
parent d3ffabd76b
commit 5f0acc2693
2 changed files with 24 additions and 13 deletions

View File

@@ -70,7 +70,7 @@ export async function activate(context: ExtensionContext) {
context.subscriptions.push(new ShowBlameHistoryCommand(git));
context.subscriptions.push(new ShowFileHistoryCommand(git));
context.subscriptions.push(new ShowQuickFileHistoryCommand(git));
context.subscriptions.push(new ShowQuickRepoHistoryCommand(git));
context.subscriptions.push(new ShowQuickRepoHistoryCommand(git, repoPath));
context.subscriptions.push(new ToggleCodeLensCommand(git));
}