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

Create a second submodule with a name that differs from its path. Test
that calling set-url 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/t7420-submodule-set-url.sh