aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-10-04 14:21:42 -0700
committerJunio C Hamano <gitster@pobox.com>2024-10-04 14:21:42 -0700
commit68ac04ad8539981fcf7b0246ffcab7f51a1ba513 (patch)
treeee2cccc60fe2a15dd686039c57d22dcce1590042
parentb1c6ed40cde2c0e2fd9b41c51555eba48bce49a8 (diff)
parent4638250b7b9288c197c16600630cefd4e196b4fc (diff)
downloadgit-68ac04ad8539981fcf7b0246ffcab7f51a1ba513.tar.gz
Merge branch 'tb/weak-sha1-for-tail-sum'
Build fix. * tb/weak-sha1-for-tail-sum: hash.h: set NEEDS_CLONE_HELPER_UNSAFE in fallback mode
-rw-r--r--hash.h3
1 files changed, 3 insertions, 0 deletions
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
#define git_SHA_CTX platform_SHA_CTX