From: D. Ben Knoble Date: Mon, 30 Nov 2026 15:56:05 GMT Subject: Re: [PATCH v4 2/3] submodule: make URL resolution repository-aware Message-ID: In-Reply-To: On Sat, Nov 28, 2026 at 11:54 AM Alessio Attilio via GitGitGadget wrote: > > From: Alessio Attilio > > 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.