From: Junio C Hamano Date: Mon, 7 Jul 2025 21:12:55 +0000 (-0700) Subject: Merge branch 'jk/submodule-remote-lookup-cleanup' X-Git-Tag: v2.51.0-rc0~95 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7310e539ada2b368e1c7243734ee7316639814f2;p=thirdparty%2Fgit.git Merge branch 'jk/submodule-remote-lookup-cleanup' Updating submodules from the upstream did not work well when submodule's HEAD is detached, which has been improved. * jk/submodule-remote-lookup-cleanup: submodule: look up remotes by URL first submodule: move get_default_remote_submodule() submodule--helper: improve logic for fallback remote name remote: remove the_repository from some functions dir: move starts_with_dot(_dot)_slash to dir.h remote: fix tear down of struct remote remote: remove branch->merge_name and fix branch_release() --- 7310e539ada2b368e1c7243734ee7316639814f2