Browse Source

Fixes repoPath issue

main
Eric Amodio 7 years ago
parent
commit
bcfb0cd24d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/commands/showQuickRepoHistory.ts

+ 1
- 1
src/commands/showQuickRepoHistory.ts View File

@ -38,7 +38,7 @@ export default class ShowQuickRepoHistoryCommand extends ActiveEditorCommand {
if (!repoPath) return window.showWarningMessage(`Unable to show repository history`); if (!repoPath) return window.showWarningMessage(`Unable to show repository history`);
if (!commit) { 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`); if (!log) return window.showWarningMessage(`Unable to show repository history`);
const pick = await RepoCommitsQuickPick.show(log, uri, maxCount, this.git.config.advanced.maxQuickHistory, goBackCommand); const pick = await RepoCommitsQuickPick.show(log, uri, maxCount, this.git.config.advanced.maxQuickHistory, goBackCommand);

Loading…
Cancel
Save