From: Junio C Hamano Date: Tue, 27 Oct 2026 17:39:29 GMT Subject: Re: [RFC PATCH] submodule: make '^/' work like '../' but with an absolute path Message-ID: In-Reply-To: <20260929185122.3127574-1-lightofmysoul@gmail.com> Stanislav Aleksandrov writes: > Documentation/git-submodule.adoc | 8 +- > Documentation/gitmodules.adoc | 7 +- > builtin/submodule--helper.c | 39 +++-- > remote.c | 61 ++++++++ > remote.h | 15 ++ > submodule-config.c | 8 +- > submodule-config.h | 6 + > t/helper/test-submodule.c | 7 +- > t/meson.build | 1 + > t/t0060-path-utils.sh | 43 ++++++ > t/t7427-submodule-root-relative-url.sh | 190 +++++++++++++++++++++++++ > t/t7450-bad-git-dotfiles.sh | 5 + > 12 files changed, 366 insertions(+), 24 deletions(-) > create mode 100755 t/t7427-submodule-root-relative-url.sh Jacob seem to have had a reasonably well informed convesation with you on this topic, and I'd trust his judgement much better than mine on submodules ;-), so I was looking at this patch to queue. One bad news is that t7427 is taken by another topic in flight, and this topic will break tests when merged to 'seen'. I'll try moving it to t7428 before queuing, but when a new iteration of the patch is posted, please make sure to check (1) it applies cleanly to 'master', (2) the result of (1) merges cleanly to 'next' and 'seen', and all three pass all tests (not just 0060, 7428, and 7450). Thanks.