git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Taylor Blau <me@ttaylorr.com>
Date
Oct 3, 2024, 00:57 UTC
Message-ID
<Zv3r9FBd+Nog3wb7@nand.local>
In-Reply-To
<20241002232618.GA3442753@coredump.intra.peff.net>
On Wed, Oct 02, 2024 at 07:26:18PM -0400, Jeff King wrote:
Show 12 quoted lines
> 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

Previous: Taylor BlauNext: Junio C Hamano
Message 5 of 6 in “hash.h: set NEEDS_CLONE_HELPER_UNSAFE in fallback mode”
  1. hash.h: set NEEDS_CLONE_HELPER_UNSAFE in fallback modeJeff King, Oct 2, 2024
  2. brian m. carlsonOct 3, 2024
  3. Jeff KingOct 3, 2024
  4. Taylor BlauOct 3, 2024
  5. Taylor BlauOct 3, 2024
  6. Junio C HamanoOct 3, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.