]> git.ipfire.org Git - thirdparty/git.git/commit
submodule: move get_default_remote_submodule()
authorJacob Keller <jacob.keller@gmail.com>
Mon, 23 Jun 2025 23:11:34 +0000 (16:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Jun 2025 23:38:57 +0000 (16:38 -0700)
commitfedfb0735b2d2dd7b47287925ad5a0aa4fbb9712
tree0c4b5d56d881680507b31e164c31a78db0c12681
parente759275c8fbf76e380600a87f72d6857d3b48ba3
submodule: move get_default_remote_submodule()

A future refactor got get_default_remote_submodule() is going to depend on
resolve_relative_url(). That function depends on get_default_remote().

Move get_default_remote_submodule() after resolve_relative_url() first
to make the additional functionality easier to review.

Signed-off-by: Jacob Keller <jacob.keller@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c