pub fn normalize_commit_message(raw: &str) -> Result<String>Expand description
Normalize a commit message body the same way create_commit does before hooks: stripspace,
reject empty bodies, ensure a trailing newline.
ยงErrors
Returns Error::EmptyCommitMessage when the cleaned body would be empty.