Git: the first eleven (11) and twelve (12) characters of the hash of a commit
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Jan 2022 14:02:28 UTC
<https://lists.freebsd.org/pipermail/freebsd-current/2020-December/077949.html> On 24/12/2020 04:06, Warner Losh wrote: > Re: referencing one commit in another for git … >>> For MFCs we are recommending the first 11. I think this >>> will likely suffice and matches the git client behavior. >> Mercurial defaults to 12 digit abbreviation. Git >> abbreviates linux, freebsd-legacy, freebsd-ports repos >> on GitHub to 12 digit. > I've updated to 12. That sounds like a good number of > digits...Thanks. > > Warner I might have asked something this before (sorry): * what, ultimately, was the main reason for going with eleven? For consistency, to match the git client behaviour?