From: Justin Tobler Date: Wed, 02 Apr 2025 15:59:16 GMT Subject: Re: [PATCH v2 2/2] help: include unsafe SHA-1 build info in version Message-ID: <46xnrbtafdg2iafownzujbpzjuygpns4g4r26wzxxv6xmi5mg7@m3dw6cfk6f7q> In-Reply-To: On 25/04/02 09:38AM, Patrick Steinhardt wrote: > On Tue, Apr 01, 2025 at 03:36:30PM -0500, Justin Tobler wrote: > > diff --git a/Documentation/git-version.adoc b/Documentation/git-version.adoc > > index f06758a7cf..753794988c 100644 > > --- a/Documentation/git-version.adoc > > +++ b/Documentation/git-version.adoc > > @@ -25,6 +25,9 @@ OPTIONS > > + > > Note that the SHA1 options `SHA1_APPLE`, `SHA1_OPENSSL`, and `SHA1_BLK` do not > > have collision detection. > > ++ > > +If built to use a faster SHA-1 implementation for non-cryptographic purposes, > > +that implementation is denoted as "non-crypto-SHA-1". > > > > GIT > > --- > > I got basically the same comment for this new paragraph as for the first > one. I'd either drop it or expand it so that readers know what's going > on. Ya, this should also be expanded a bit. I think in combination with the expanded documentation for the prior patch, something like this might be a bit better. "When a faster SHA-1 implementation without collision detection is used for only non-cryptographic purposes, the algorithm is diplayed in the form `non-collision-detecting-SHA-1: