]> git.ipfire.org Git - thirdparty/git.git/commit - git-submodule.sh
git-submodule: give submodules proper names
authorLars Hjemli <hjemli@gmail.com>
Mon, 11 Jun 2007 19:12:24 +0000 (21:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Jun 2007 08:06:21 +0000 (01:06 -0700)
commit941987a554812b982094e09c5c817f18be953365
tree671bc090ba5626fd8f46f5483cb0a17078b40ccd
parentd57dd255a696cb68c880110a990085c08343f618
git-submodule: give submodules proper names

This changes the way git-submodule uses .gitmodules: Subsections no longer
specify the submodule path, they now specify the submodule name. The
submodule path is found under the new key "submodule.<name>.path", which is
a required key.

With this change a submodule can be moved between different 'checkout paths'
without upsetting git-submodule.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh
t/t7400-submodule-basic.sh