We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55b1840 commit ca90192Copy full SHA for ca90192
git/commits.go
@@ -153,7 +153,8 @@ func LogCommit(commit string) (*CommitEntry, error) {
153
logrus.Errorf("[git] cmd: %q", strings.Join(cmd.Args, " "))
154
return nil, err
155
}
156
- c[v] = strings.TrimSpace(string(out))
+ commitMessage := strings.ReplaceAll(string(out), "\r\n", "\n")
157
+ c[v] = strings.TrimSpace(commitMessage)
158
159
160
return &c, nil
0 commit comments