pub fn format_commit(
format: &str,
commit: &Commit<'_>,
branches: String,
wrapping: &Option<Options<'_, HyphenSplitter>>,
hash_color: Option<u8>
) -> Result<Vec<String>, String>Expand description
Format a commit for CommitFormat::Format(String).