Re: [PATCH v3 0/2] status: report when submodule URLs are out of sync
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 28, 2026, 04:19 UTC
- Message-ID
- <xmqqmrqty4e9.fsf@gitster.g>
- In-Reply-To
- <pull.2509.v3.git.git.1795814853.gitgitgadget@gmail.com>
"Alessio Attilio via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 14 quoted lines
> When a submodule URL changes in .gitmodules, the corresponding URL in the > superproject's .git/config may keep pointing at the old location. This > series makes git status warn about that mismatch and suggest git submodule > sync. > > The warning resolves relative URLs as git submodule sync does. It also > suppresses the warning when the populated submodule has a custom remote URL > that a sync would overwrite. > > The series is split into: > > 1. submodule: move URL helpers to submodule.c > 2. submodule: make URL resolution repository-aware > 3. status: warn about stale submodule URLs
The cover letter describes a three-patch split, and the changelog notes moving repository-aware URL resolution into its own commit, yet this v3 series contains two patches where patch 1/2 both relocates the helpers and takes 'struct repository *repo' (matching the two-patch range-diff against v2). Sent before finishing the work and checking if the result matches the cover letter description, perhaps?