浏览代码

Fixes statusbar showing wrong line blame

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

+ 1
- 1
src/statusbar/statusBarController.ts 查看文件

@ -349,7 +349,7 @@ export class StatusBarController implements Disposable {
pr: Promise<PullRequest | undefined> | PullRequest | undefined,
timeout?: number,
) {
return detailsMessage(container, commit, commit.getGitUri(), commit.lines[0].line, {
return detailsMessage(container, commit, commit.getGitUri(), commit.lines[0].line - 1, {
autolinks: true,
cancellation: cancellation,
dateFormat: defaultDateFormat,

正在加载...
取消
保存