Browse Source

Fix commits incorrectly being merge type

main
Ramin Tadayon 2 years ago
parent
commit
1ae096f215
No known key found for this signature in database GPG Key ID: 5B90E918AEBCE7A7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/env/node/git/localGitProvider.ts

+ 1
- 1
src/env/node/git/localGitProvider.ts View File

@ -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…
Cancel
Save