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

Re: [PATCH] rev-list: ignore replacements in the connectivity check

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 3, 2026, 18:36 UTC
Message-ID
<xmqq7bit92yg.fsf@gitster.g>
In-Reply-To
<CAL71e4M7yFnTzYD0eVVGRmzkzSXbU0KZ-JScQOyB4-dB5xkAHA@mail.gmail.com>
Kristofer Karlsson <krka@spotify.com> writes:
Show 5 quoted lines
> My preliminary thinking is that since replacements are
> implemented as regular refs (refs/replace/OLD -> NEW),
> their reachable objects should already be covered by
> ordinary connectivity checks when those refs are fetched
> or pushed.

You are right. So no need to do anything extra to worry about "doing both". It just "ignore replacements" had a wrong connotation that we ignore the replacing objects and only pay attention to the connection among underlying objects that misled me.

Thanks.
Previous: Patrick SteinhardtNext: Karthik Nayak
Message 5 of 9 in “rev-list: ignore replacements in the connectivity check”
  1. rev-list: ignore replacements in the connectivity checkKristofer Karlsson via GitGitGadget, Nov 2, 2026
  2. Junio C HamanoNov 2, 2026
  3. Kristofer KarlssonNov 3, 2026
  4. Patrick SteinhardtNov 3, 2026
  5. Junio C HamanoNov 3, 2026
  6. Karthik NayakNov 3, 2026
  7. Kristofer KarlssonNov 3, 2026
  8. Patrick SteinhardtNov 3, 2026
  9. Kristofer KarlssonNov 3, 2026

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.