Git development
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Alessio Attilio via GitGitGadget" <gitgitgadget@gmail.com>
Cc: git@vger.kernel.org,  Alessio Attilio <attilio.alessio@protonmail.com>
Subject: Re: [PATCH v3 0/2] status: report when submodule URLs are out of sync
Date: Fri, 27 Nov 2026 20:19:10 -0800	[thread overview]
Message-ID: <xmqqmrqty4e9.fsf@gitster.g> (raw)
In-Reply-To: <pull.2509.v3.git.git.1795814853.gitgitgadget@gmail.com> (Alessio Attilio via GitGitGadget's message of "Fri, 27 Nov 2026 21:27:31 +0000")

"Alessio Attilio via GitGitGadget" <gitgitgadget@gmail.com> writes:

> 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?

  parent reply	other threads:[~2026-11-28  4:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27 10:21 [PATCH] status: warn about stale submodule URLs Alessio Attilio via GitGitGadget
2026-11-27 13:41 ` D. Ben Knoble
2026-11-27 16:16 ` [PATCH v2 0/2] status: report when submodule URLs are out of sync Alessio Attilio via GitGitGadget
2026-11-27 16:16   ` [PATCH v2 1/2] submodule: prepare URL helpers for reuse Alessio Attilio via GitGitGadget
2026-11-27 16:16   ` [PATCH v2 2/2] status: warn about stale submodule URLs Alessio Attilio via GitGitGadget
2026-11-27 18:11     ` Junio C Hamano
2026-11-27 20:35       ` ATTILIO ALESSIO
2026-11-30 15:46       ` D. Ben Knoble
2026-11-27 21:27 ` [PATCH v3 0/2] status: report when submodule URLs are out of sync Alessio Attilio via GitGitGadget
2026-11-27 21:27   ` [PATCH v3 1/2] submodule: prepare URL helpers for reuse Alessio Attilio via GitGitGadget
2026-11-28  3:38     ` Junio C Hamano
2026-11-27 21:27   ` [PATCH v3 2/2] status: warn about stale submodule URLs Alessio Attilio via GitGitGadget
2026-11-28  4:08     ` Junio C Hamano
2026-11-28  4:19   ` Junio C Hamano [this message]
2026-11-28 16:53 ` [PATCH v4 0/3] status: report when submodule URLs are out of sync Alessio Attilio via GitGitGadget
2026-11-28 16:53   ` [PATCH v4 1/3] submodule: move URL helpers into submodule.c Alessio Attilio via GitGitGadget
2026-11-30 15:54     ` D. Ben Knoble
2026-11-28 16:53   ` [PATCH v4 2/3] submodule: make URL resolution repository-aware Alessio Attilio via GitGitGadget
2026-11-30 15:56     ` D. Ben Knoble
2026-11-28 16:53   ` [PATCH v4 3/3] status: report when submodule URLs are out of sync Alessio Attilio via GitGitGadget
2026-11-29 15:42     ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqmrqty4e9.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=attilio.alessio@protonmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitgitgadget@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox