瀏覽代碼

Fix commits incorrectly being merge type

main
Ramin Tadayon 2 年之前
父節點
當前提交
1ae096f215
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 5B90E918AEBCE7A7
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/env/node/git/localGitProvider.ts

+ 1
- 1
src/env/node/git/localGitProvider.ts 查看文件

@ -1828,7 +1828,7 @@ export class LocalGitProvider implements GitProvider, Disposable {
// TODO: review logic for stash, wip, etc
type: isStashCommit
? GitGraphRowType.Stash
: commit.parents.length > 1
: parents.length > 1
? GitGraphRowType.MergeCommit
: GitGraphRowType.Commit,
heads: refHeads,

Loading…
取消
儲存