radicle-dev / radicle-git

Everything Radicle growing around Git
Other
41 stars 5 forks source link

git-commit: fix to lack of newline separation #74

Closed FintanH closed 1 year ago

FintanH commented 1 year ago

Fixes #73

There was an issue where the trailers were not properly separated from the commit message itself. In fact, a new line is not added if there are not trailers either.

Add a fix to add a newline after the commit message. Also adding test cases to test 0, 1, or 2 trailers in a git commit.