pub fn read_commit_subject_line(data: &[u8]) -> Result<String>Expand description
First line of the commit message (subject), honoring the encoding header.
Scans headers only; does not require a full parse_commit parse.
ยงErrors
Returns crate::error::ObjectError::Corrupt when commit headers are malformed.