Date: Sat, 22 Jan 2022 14:02:28 +0000 From: Graham Perrin <grahamperrin@gmail.com> To: freebsd-current@freebsd.org Subject: Git: the first eleven (11) and twelve (12) characters of the hash of a commit Message-ID: <0a09bad0-4ecb-c45a-085d-b04a43f2c73a@gmail.com> In-Reply-To: <CANCZdfq4PLMPku0g11gK5O9KJi%2Bwqu6M3SJixCcDh3hLo_KkLA@mail.gmail.com> References: <YQXPR0101MB0968535A875FF1D2C32352E8DDDE0@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM> <CAOtMX2gsYVeN1NZVjtGX7EDNFnL2qKV%2Bg3GtSS-YFyn1A6_wLg@mail.gmail.com> <CANCZdfp0WDqM_f01JZgScyeDh_tBgYSrWSzk4ruQb526B9y2vw@mail.gmail.com> <k0t8-q9q4-wny@FreeBSD.org> <CANCZdfq4PLMPku0g11gK5O9KJi%2Bwqu6M3SJixCcDh3hLo_KkLA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0a09bad0-4ecb-c45a-085d-b04a43f2c73a>