pub fn parse_commit(payload: &[u8]) -> CommitHeaderExpand description
Parse a commit payload’s header block (everything before the first blank line). Unknown headers are ignored; a malformed one is skipped (P-4).
pub fn parse_commit(payload: &[u8]) -> CommitHeaderParse a commit payload’s header block (everything before the first blank line). Unknown headers are ignored; a malformed one is skipped (P-4).