From: Taylor Blau Date: Thu, 03 Oct 2024 00:57:24 GMT Subject: Re: [PATCH (v2.47 regression)] hash.h: set NEEDS_CLONE_HELPER_UNSAFE in fallback mode Message-ID: In-Reply-To: <20241002232618.GA3442753@coredump.intra.peff.net> On Wed, Oct 02, 2024 at 07:26:18PM -0400, Jeff King wrote: > diff --git a/hash.h b/hash.h > index f97f858307..756166ce5e 100644 > --- a/hash.h > +++ b/hash.h > @@ -82,6 +82,9 @@ > # ifdef platform_SHA1_Clone > # define platform_SHA1_Clone_unsafe platform_SHA1_Clone > # endif > +# ifdef SHA1_NEEDS_CLONE_HELPER > +# define SHA1_NEEDS_CLONE_HELPER_UNSAFE > +# endif > #endif Gah. I could have sworn I wrote something like this myself, but I must have dropped it or hallucinated writing it in the first place. Thanks for finding and fixing. Thanks, Taylor