Function git2::message_prettify
source ยท pub fn message_prettify<T: IntoCString>(
message: T,
comment_char: Option<u8>,
) -> Result<String, Error>
Expand description
Clean up a message, removing extraneous whitespace, and ensure that the
message ends with a newline. If comment_char
is Some
, also remove comment
lines starting with that character.