author | Lars Hjemli <hjemli@gmail.com> | |
Mon, 11 Jun 2007 19:12:24 +0000 (21:12 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Jun 2007 08:06:21 +0000 (01:06 -0700) | ||
commit | 941987a554812b982094e09c5c817f18be953365 | |
tree | 671bc090ba5626fd8f46f5483cb0a17078b40ccd | tree | snapshot |
parent | d57dd255a696cb68c880110a990085c08343f618 | commit | diff |
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>
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 | diff | blob | history | |
t/t7400-submodule-basic.sh | diff | blob | history |