-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Hi!
When using a colon in a commit message twice, a part of the message is lost.
Apparently, the error is in this place:
commitPostfix = ss.split(':')[1] |
Example of a message:
fix: bla-bla
A very important commit
ref: https://task.domain.com
After executing the hook:
fix: bla-bla
A very important commit
ref
Suggestion: specify the number of splits in .split()
:
commitPostfix = ss.split(':', 1)[1]
Metadata
Metadata
Assignees
Labels
No labels