Re: [PATCH v4 2/3] submodule: make URL resolution repository-aware
- From
D. Ben Knoble <ben.knoble@gmail.com>
- Date
- Nov 30, 2026, 15:56 UTC
- Message-ID
- <CALnO6CAOJugzrCQn0zDit-rG0ORu7ZFHgTtw1FvOB9eBGcTzHA@mail.gmail.com>
- In-Reply-To
- <ad4dafd82bb3759ab77805bb2fbc27ffd33c4e52.1795884822.git.gitgitgadget@gmail.com>
On Sat, Nov 28, 2026 at 11:54 AM Alessio Attilio via GitGitGadget <gitgitgadget@gmail.com> wrote:
Show 11 quoted lines
> > From: Alessio Attilio <attilio.alessio@protonmail.com> > > Pass the repository explicitly to resolve_submodule_url() instead > of relying on the_repository, and update existing callers. Resolve > relative URLs against the repository worktree when no default > remote URL is configured. > > Keep this API change separate from moving the helpers. The > non-relative URL fast path is established in the preparatory > patch and remains independent of repository lookup.
This is the paragraph in [2/3] that corresponds to the unusual sentence in [1/3]. These would make fine "changes" notes on the commit or cover letter, but this paragraph especially doesn't belong in the proposed log message.