Skip to main content

Module commit_pretty

Module commit_pretty 

Source
Expand description

Human-oriented commit one-line formats shared by porcelain commands.

Functions§

abbrev_hex
Abbreviate oid to at most abbrev_len hex characters (minimum 4, maximum 40).
format_reference_line
One-line reference format: abbrev (subject, YYYY-MM-DD).
format_short_date_from_ident
Format the author/committer date as YYYY-MM-DD in the commit’s local timezone.