From bcfb0cd24d9d334b27a5323ef2311ea3f9d2b970 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 25 Feb 2017 02:19:56 -0500 Subject: [PATCH] Fixes repoPath issue --- src/commands/showQuickRepoHistory.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/showQuickRepoHistory.ts b/src/commands/showQuickRepoHistory.ts index 8e062cf..0dd45ec 100644 --- a/src/commands/showQuickRepoHistory.ts +++ b/src/commands/showQuickRepoHistory.ts @@ -38,7 +38,7 @@ export default class ShowQuickRepoHistoryCommand extends ActiveEditorCommand { if (!repoPath) return window.showWarningMessage(`Unable to show repository history`); if (!commit) { - const log = await this.git.getLogForRepo(this.repoPath, undefined, maxCount); + const log = await this.git.getLogForRepo(repoPath, undefined, maxCount); if (!log) return window.showWarningMessage(`Unable to show repository history`); const pick = await RepoCommitsQuickPick.show(log, uri, maxCount, this.git.config.advanced.maxQuickHistory, goBackCommand);