]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/submodule-remote-lookup-cleanup'
authorJunio C Hamano <gitster@pobox.com>
Mon, 7 Jul 2025 21:12:55 +0000 (14:12 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Jul 2025 21:12:56 +0000 (14:12 -0700)
commit7310e539ada2b368e1c7243734ee7316639814f2
treeae96aaaa39d398cd5a3f63c593cc9826be78d25c
parent8b6f19ccfc3aefbd0f22f6b7d56ad6a3fc5e4f37
parentca62f524c1eaef606b5c312de53ef7c4d9eefa4f
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()
builtin/pull.c
builtin/submodule--helper.c
t/t7406-submodule-update.sh