浏览代码

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

正在加载...
取消
保存