ソースを参照

Fixes diffWith when called with no previous sha

main
Eric Amodio 7年前
コミット
88421c586d
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/commands/diffWith.ts

+ 1
- 1
src/commands/diffWith.ts ファイルの表示

@ -48,7 +48,7 @@ export class DiffWithCommand extends ActiveEditorCommand {
args = {
repoPath: commit1.repoPath,
lhs: {
sha: commit1.previousSha!,
sha: commit1.previousSha !== undefined ? commit1.previousSha : GitService.fakeSha,
uri: commit1.previousUri!
},
rhs: {

読み込み中…
キャンセル
保存