Hi Alessio, On Sat, Nov 28, 2026 at 11:53 AM Alessio Attilio via GitGitGadget <gitg…@gmail.com> wrote:
> > From: Alessio Attilio <atti…@protonmail.com> > > Move the relative submodule URL resolver and the helper that > computes the path back to the superproject from > builtin/submodule--helper.c to submodule.c. This lets other > callers reuse the helpers. > > Return non-relative URLs unchanged before consulting remote > configuration, so the resolver handles every URL form itself. > Keep the repository parameter change for the next patch.
This comment applies to [2/3] also: it is normal to explain a preparatory commit by discussing what it prepares for ("lets other callers reuse the helpers"), but I find the sentence "Keep the repository parameter change for the next patch" very unusual. A future reader must wonder: what change? (And why "the change"?) The answers only make sense in context of prior iterations, not necessarily in context of the final commits upstream. I would rephrase (or drop that line altogether): We also want to make these helpers repository-aware, but do that in a later step to make it easy to see the code movement. perhaps?
-- D. Ben Knoble