Browse Source

Trims commit message for Graph

main
Eric Amodio 2 years ago
parent
commit
873c303bc2
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

@ -1835,7 +1835,7 @@ export class LocalGitProvider implements GitProvider, Disposable {
author: commit.author,
email: commit.authorEmail ?? '',
date: Number(ordering === 'author-date' ? commit.authorDate : commit.committerDate) * 1000,
message: emojify(commit.message),
message: emojify(commit.message.trim()),
// TODO: review logic for stash, wip, etc
type: isStashCommit
? GitGraphRowType.Stash

Loading…
Cancel
Save