Fixes repoPath issue

This commit is contained in:
Eric Amodio
2017-02-25 02:19:56 -05:00
parent a2f4c4c953
commit bcfb0cd24d

View File

@@ -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);