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

Subject: [PATCH 3/9] refs/reftable: skip duplicate name checks

From
Han-Wen Nienhuys <hanwenn@gmail.com>
Date
Apr 3, 2024, 09:47 UTC
Message-ID
<CAOw_e7YspBkOo7QE0Z3QqWXd6P1OVnF9j3q7ircrce25KNbKLw@mail.gmail.com>

I can't remember why I did not rely on the available routine (did it not exist at the time? or maybe I assumed the files backend relied on the file system to enforce well-formedness). If the functionality is covered by refs_verify_refname_available, it's probably better to rip out of the reftable library (essentially, just delete refname.c and friends) rather than disable it. I am assuming libgit2 will have an equivalent routine as well.

-- 
Han-Wen Nienhuys - hanwenn@gmail.com - http://www.xs4all.nl/~hanwen
Next: Patrick Steinhardt
Message 1 of 3 in “Subject: [PATCH 3/9] refs/reftable: skip duplicate name checks”
  1. Han-Wen NienhuysApr 3, 2024
  2. Patrick SteinhardtApr 3, 2024
  3. Junio C HamanoApr 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.