author | David Aguilar <davvid@gmail.com> | |
Wed, 18 Aug 2010 15:58:33 +0000 (08:58 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 Aug 2010 20:54:30 +0000 (13:54 -0700) | ||
commit | 0b9dca434f5d9208a26f47f7ec11453f1cfdfae8 | |
tree | e6e5cb8698b55956f6a99e9b8ba8902ed697b599 | tree | snapshot |
parent | 64fdc08dac6694d1e754580e7acb82dfa4988bb9 | commit | diff |
submodule sync: Update "submodule.<name>.url"
When "git submodule sync" synchronizes the repository URLs
it only updates submodules' .git/config. However, the old
URLs still exist in the super-project's .git/config.
Update the super-project's configuration so that commands
such as "git submodule update" use the URLs from .gitmodules.
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When "git submodule sync" synchronizes the repository URLs
it only updates submodules' .git/config. However, the old
URLs still exist in the super-project's .git/config.
Update the super-project's configuration so that commands
such as "git submodule update" use the URLs from .gitmodules.
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh | diff | blob | history | |
t/t7403-submodule-sync.sh | diff | blob | history |