pub fn parse_commit(
object_format: ObjectFormat,
body: &[u8],
) -> Result<Commit, Error>Expand description
Parses a commit body’s headers under git-object-grammar-v1; the message
stays opaque.
§Errors
ObjectUnreadable for any header order, multiplicity, byte, or
continuation defect.