瀏覽代碼

Fixes repoPath issue

main
Eric Amodio 7 年之前
父節點
當前提交
bcfb0cd24d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/commands/showQuickRepoHistory.ts

+ 1
- 1
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);

Loading…
取消
儲存