]> git.ipfire.org Git - thirdparty/git.git/commit
t7419: test that we correctly handle renamed submodules
authorJan Alexander Steffens (heftig) <heftig@archlinux.org>
Tue, 3 Oct 2023 18:50:46 +0000 (20:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Oct 2023 22:32:34 +0000 (15:32 -0700)
commit32bff3675e6b4dc5ae93f0777e5da709f6576275
tree0a4bb629e477b97d395e4eca42f8a304dba3f96f
parent5fc880632d5e9ef6fd40a5ef9b5e01d61cdc320a
t7419: test that we correctly handle renamed submodules

Add the submodule again with an explicitly different name and path. Test
that calling set-branch modifies the correct .gitmodules entries. Make
sure we don't create a section named after the path instead of the name.

Signed-off-by: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7419-submodule-set-branch.sh