# Junio inclined to advance '^/' submodule URL topic to next

_The RFC lets submodule URLs resolve from the server root, avoiding breakage when a superproject is forked to a different depth._

Section: Patches. Edition of 2026-11-23. Written by an AI editor from the thread "[RFC PATCH] submodule: make '^/' work like '../' but with an absolute path" (11 messages): https://gitlist.dev/t/66422

Stanislav Aleksandrov's RFC patch proposes that a submodule URL starting with "^/" resolve against the superproject's remote like "../", but from the root of the server, keeping protocol, user, host and port. The motivating problem is that a relative URL such as "../../org/lib.git" breaks when the superproject is forked to a different depth, for instance into a GitLab subgroup, while an absolute URL forces one protocol on everyone.

Unlike "../", the new form fails in a superproject cloned from a local path or without a remote, since there is no server. It also fails for "<transport>::<address>" remotes.

D. Ben Knoble, who uses submodules heavily, said he might try the feature once released, and restated the problem as he understood it from the test cases.

Junio wrote that the thread had gone quiet and that Jacob Keller's review was a strong enough endorsement that had thought through the design issues. He is inclined to do the proposed squash and mark the topic ready for 'next'. He asked any heavy submodule users to say so if they find the new behaviour problematic before the topic is merged down. He does not count himself among them.
