Function branchless::git::message_prettify
source · pub fn message_prettify(
message: &str,
comment_char: Option<char>
) -> Result<String>
Expand description
Clean up a message, removing extraneous whitespace plus comment lines starting with
comment_char
, and ensure that the message ends with a newline.