🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.git
4 messages
4 total messages Started by Junio C Hamano Tue, 27 Oct 2026 17:39
Re: [RFC PATCH] submodule: make '^/' work like '../' but with an absolute path
#1653
Author: Junio C Hamano
Date: Tue, 27 Oct 2026 17:39
30 lines
14032 bytes
Stanislav Aleksandrov <lightofmysoul@gmail.com> 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.
Re: [RFC PATCH] submodule: make '^/' work like '../' but with an absolute path
#1926
Author: Stanislav Aleksandrov
Date: Fri, 30 Oct 2026 15:07
12 lines
11123 bytes
Junio C Hamano <gitster@pobox.com> writes:

> 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 for fixing the test number. The t7428 squash looks good to me,
please squash it in.
Re: [RFC PATCH] submodule: make '^/' work like '../' but with an absolute path
#2015
Author: Junio C Hamano
Date: Sat, 31 Oct 2026 15:54
19 lines
13566 bytes
Stanislav Aleksandrov <lightofmysoul@gmail.com> writes:

> Junio C Hamano <gitster@pobox.com> writes:
>
>> 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 for fixing the test number. The t7428 squash looks good to me,
> please squash it in.

I'll keep them separate, as the fix-up will become unnecessary as
long as you remember the need for it when the patch leaves RFC
status; the test number crashing would not be the only thing that
needs fixing, I presume.
Re: [RFC PATCH] submodule: make '^/' work like '../' but with an absolute path
#3592
Author: Junio C Hamano
Date: Sun, 22 Nov 2026 19:04
28 lines
13736 bytes
Junio C Hamano <gitster@pobox.com> writes:

> Stanislav Aleksandrov <lightofmysoul@gmail.com> writes:
>
>> Thanks for fixing the test number. The t7428 squash looks good to me,
>> please squash it in.
>
> I'll keep them separate, as the fix-up will become unnecessary as
> long as you remember the need for it when the patch leaves RFC
> status; the test number crashing would not be the only thing that
> needs fixing, I presume.

The thread went dark after this exchange.  Re-reading the main
thread of the review conversation, Jacob's review [*] does sound
like a strong enough endorsement that thought the design issues
through, so I am inclined to say I can do the proposed squash and
mark the topic as ready for 'next'.

Please holler if any heavy submodule users (I do not qualify myself)
find the new behaviour problematic before I merge the topic down.

Thanks.


[Reference]

 * https://lore.kernel.org/git/CA+P7+xo8J_+3QECoGHnN1AxXPpjaKaHp3VoN9EEcyhZ+Q1fzew@mail.gmail.com/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads