浏览代码

Fixes diff w/prev from diff view w/working changes

main
Eric Amodio 5 年前
父节点
当前提交
b6a1b928f1
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. +6
    -4
      src/git/gitService.ts

+ 6
- 4
src/git/gitService.ts 查看文件

@ -1748,10 +1748,12 @@ export class GitService implements Disposable {
};
}
else if (status.workingTreeStatus !== undefined) {
return {
current: GitUri.fromFile(fileName, repoPath, undefined),
previous: await this.getPreviousUri(repoPath, uri, undefined, skip)
};
if (skip === 0) {
return {
current: GitUri.fromFile(fileName, repoPath, undefined),
previous: await this.getPreviousUri(repoPath, uri, undefined, skip)
};
}
}
}
else if (skip === 0) {

正在加载...
取消
保存