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

Re: [PATCH] replace-refs: fix support of qualified replace ref paths

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 30, 2025, 00:11 UTC
Message-ID
<xmqqselq33v6.fsf@gitster.g>
In-Reply-To
<CAPMMpohgEXVPHKCQtvc-zLC35qtY+qJ9WgQO_quOgUG01eyTOw@mail.gmail.com>
Tao Klerks <tao@klerks.biz> writes:
> This is already accounted for with a hard error: If you end up with
> duplicate replace ref targets, many operations fail with a clear
> error. Clean up your replace refs and you're off to the races again.

OK. As long as that safety is there, I offhand see no more reason to forbid it. As you said, it can lead to a useful use case.

Previous: Tao Klerks
Message 5 of 5 in “replace-refs: fix support of qualified replace ref paths”
  1. replace-refs: fix support of qualified replace ref pathsTao Klerks via GitGitGadget, Apr 26, 2025
  2. Patrick SteinhardtApr 29, 2025
  3. Junio C HamanoApr 29, 2025
  4. Tao KlerksApr 29, 2025
  5. Junio C HamanoApr 30, 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.