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

Re: [PATCH] refs/files: deprecate writing symrefs as symbolic links

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 15, 2025, 14:49 UTC
Message-ID
<xmqq347kw77a.fsf@gitster.g>
In-Reply-To
<aO84NamCzFXH1eUl@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 12 quoted lines
> I don't think we do. I'll say "textual symref format" here.
>
>> > +	warn_once = 0;
>> > +
>> > +	ref_path = get_locked_file_path(&lock->lk);
>> 
>> Was there a reason why we want to first warn and then attempt to
>> lock?  We are afraid that we may die before we have a chance to
>> warn()?
>
> No particular reason, no. Happy to move it towards the end so that error
> messages are given preference.

I have no strong preference. I just wondered if there were deep reason that was unexplained behind this change.

Previous: Patrick SteinhardtNext: Patrick Steinhardt
Message 4 of 7 in “refs/files: deprecate writing symrefs as symbolic links”
  1. refs/files: deprecate writing symrefs as symbolic linksPatrick Steinhardt, Oct 14, 2025
  2. Junio C HamanoOct 14, 2025
  3. Patrick SteinhardtOct 15, 2025
  4. Junio C HamanoOct 15, 2025
  5. refs/files: deprecate writing symrefs as symbolic linksPatrick Steinhardt, Oct 15, 2025
  6. Junio C HamanoOct 15, 2025
  7. Junio C HamanoOct 23, 2025

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.