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

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

From
Kristofer Karlsson <krka@spotify.com>
Date
Nov 3, 2026, 10:51 UTC
Message-ID
<CAL71e4NYpaOqeXD2ZxgzM7g=7HiwEWoqBsPSTHd8NYJuPCHc0g@mail.gmail.com>
In-Reply-To
<CAOLa=ZTKaJhWHuKnSxL1pYN_JXdrr1Eohy8RepqFRc=Qph92Yg@mail.gmail.com>
On Tue, 3 Nov 2026 at 10:54, Karthik Nayak <karthik.188@gmail.com> wrote:
Show 6 quoted lines
>
> Nit: Should we also modify 'Documentation/git-replace.adoc', which says:
>
>   Replacement references will be used by default by all Git commands
>   except those doing reachability traversal (prune, pack transfer and
>   fsck).

I think that sentence is actually more accurate with this patch than without it. The connectivity check runs as part of pack transfer (fetch and push), so until now that part of "pack transfer" did follow replacements, contrary to what the documentation says.

The list was never exhaustive either: index-pack, unpack-objects, commit-graph and multi-pack-index also disable replacements, so we can see it as a few examples of internal operations rather than a complete list.

Thanks, Kristofer

Previous: Karthik NayakNext: Patrick Steinhardt
Message 6 of 8 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. Karthik NayakNov 3, 2026
  6. Kristofer KarlssonNov 3, 2026
  7. Patrick SteinhardtNov 3, 2026
  8. 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.