Prettify a commit message by removing excess whitespace and making sure the last line ends with a newline.
If strip_comments
is true, then lines starting with a comment_char
will be
removed.
message |
the message. |
strip_comments |
whether to strip comments. |
comment_char |
comment character. |
the prettified message. |