pub fn format_reference_line(
oid: &ObjectId,
subject_first_line: &str,
committer_ident: &str,
abbrev_len: usize,
) -> StringExpand description
One-line reference format: abbrev (subject, YYYY-MM-DD).
Matches upstream git show -s --pretty=reference / sequencer refer_to_commit output.
ยงParameters
subject_first_lineโ first line of the commit message (no trailing newline).committer_identโ rawcommitterheader line (Name <email> epoch tz).abbrev_lenโ abbreviation length for the hash (typically 7).