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

Re: What's cooking in git.git (Sep 2024, #05; Fri, 13)

From
Taylor Blau <me@ttaylorr.com>
Date
Sep 17, 2024, 08:17 UTC
Message-ID
<Zuk7Fvo+a/e6UObo@nand.local>
In-Reply-To
<ZukiD4-GP-rcUWnS@pks.im>
On Tue, Sep 17, 2024 at 08:30:45AM +0200, Patrick Steinhardt wrote:
> There was also the open question of whether we want to rename the new
> `_fast` hash functions to `_unsafe` to make it stand out more that they
> are indeed not safe for cryptographic uses.

I am fine to rename it to unsafe_, etc. But the more that I think about this collision in loose object files, the less I think that it matters in practice.

We would only hit it when trying to write a loose object and racing with another writer which is trying to write that same object as loose using different compression settings, which seems awfully rare.

Perhaps there is some use-case or scenario that I am missing, but this seems like a very rare case to disable a check that is otherwise useful.

Thanks, Taylor

Previous: Patrick SteinhardtNext: Patrick Steinhardt
Message 4 of 6 in “What's cooking in git.git (Sep 2024, #05; Fri, 13)”
  1. Junio C HamanoSep 14, 2024
  2. Taylor BlauSep 16, 2024
  3. Patrick SteinhardtSep 17, 2024
  4. Taylor BlauSep 17, 2024
  5. Patrick SteinhardtSep 17, 2024
  6. Taylor BlauSep 17, 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.