DEFAULT_LENGTH
DEFAULT_LENGTH = 12
Characters shown by default.
Renders a commit address, abbreviated and marked up so a timeline can attach to it.
Deliberately not a link yet. The timeline and the diff viewer are what a commit id should route to, and inventing a URL for a route that does not exist would ship a table full of broken links. What this does instead is emit the id as a data attribute on a marked-up element, which is what those pages will hook onto when they land - and which is already useful, because a person can select and copy it.
An empty value is an empty cell rather than a dash: a root commit genuinely has no parent, and a placeholder would read as a missing one.