Thread (1 message) 1 message, 1 author, 2024-10-03

Re: [PATCH (v2.47 regression)] hash.h: set NEEDS_CLONE_HELPER_UNSAFE in fallback mode

From: Junio C Hamano <hidden>
Date: 2024-10-03 18:20:22

Taylor Blau [off-list ref] writes:
On Wed, Oct 02, 2024 at 07:26:18PM -0400, Jeff King wrote:
quoted
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.
Yeah, thanks, all.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help