]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ng/submodule-default-remote'
authorJunio C Hamano <gitster@pobox.com>
Mon, 23 Mar 2026 16:20:30 +0000 (09:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Mar 2026 16:20:30 +0000 (09:20 -0700)
Instead of hardcoded 'origin', use the configured default remote
when fetching from submodules.

* ng/submodule-default-remote:
  submodule: fetch missing objects from default remote

1  2 
builtin/submodule--helper.c
submodule.c
t/meson.build

Simple merge
diff --cc submodule.c
Simple merge
diff --cc t/meson.build
index e539117ca4fedddc85c8580cfdf09618efd0a192,6ff54cf2769038afe7128518d61118b744ba0cf8..026bf02fd6b795be7feaf3ef5e3b2b66aa87eca0
@@@ -897,7 -887,7 +897,8 @@@ integration_tests = 
    't7422-submodule-output.sh',
    't7423-submodule-symlinks.sh',
    't7424-submodule-mixed-ref-formats.sh',
 +  't7425-submodule-gitdir-path-extension.sh',
+   't7426-submodule-get-default-remote.sh',
    't7450-bad-git-dotfiles.sh',
    't7500-commit-template-squash-signoff.sh',
    't7501-commit-basic-functionality.sh',