瀏覽代碼

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

Loading…
取消
儲存