浏览代码

Fixes incorrect file selection when showing commit details

main
Eric Amodio 7 年前
父节点
当前提交
474741aeb4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/commands/showQuickCommitFileDetails.ts

+ 1
- 1
src/commands/showQuickCommitFileDetails.ts 查看文件

@ -54,7 +54,7 @@ export class ShowQuickCommitFileDetailsCommand extends ActiveEditorCachedCommand
}
if (!fileLog) {
commit = await this.git.getLogCommit(commit ? commit.repoPath : gitUri.repoPath, commit ? commit.uri.fsPath : gitUri.fsPath, sha, { previous: true });
commit = await this.git.getLogCommit(commit ? commit.repoPath : gitUri.repoPath, gitUri.fsPath, sha, { previous: true });
if (!commit) return window.showWarningMessage(`Unable to show commit file details`);
}
}

正在加载...
取消
保存