author | Lars Hjemli <hjemli@gmail.com> | |
Wed, 6 Jun 2007 09:13:02 +0000 (11:13 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Jun 2007 09:49:08 +0000 (02:49 -0700) | ||
commit | 211b7f19c7b046a6cadd36d54c549e4f335f0519 | |
tree | f1cddae9e22ee888ac7dff8fac8a4c3e3ca05b6b | tree | snapshot |
parent | 33aa6fff5d502d8e2806d31bb0916006993c1f24 | commit | diff |
git-submodule: clone during update, not during init
This teaches 'git-submodule init' to register submodule paths and urls in
.git/config instead of actually cloning them. The cloning is now handled
as part of 'git-submodule update'.
With this change it is possible to specify preferred/alternate urls for
the submodules in .git/config before the submodules are cloned.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This teaches 'git-submodule init' to register submodule paths and urls in
.git/config instead of actually cloning them. The cloning is now handled
as part of 'git-submodule update'.
With this change it is possible to specify preferred/alternate urls for
the submodules in .git/config before the submodules are cloned.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-submodule.txt | diff | blob | history | |
git-submodule.sh | diff | blob | history | |
t/t7400-submodule-basic.sh | diff | blob | history |