author | Johan Herland <johan@herland.net> | |
Wed, 19 Aug 2009 01:45:23 +0000 (03:45 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 19 Aug 2009 05:59:12 +0000 (22:59 -0700) | ||
commit | b13fd5c1a2bd450cdf7b853e0c4861f361882a18 | |
tree | 018a5a1d768bc24e4a84c6ad32da32d202adf3df | tree | snapshot |
parent | 15fc56a853648c60697df691c5cd8a11ad718611 | commit | diff |
git submodule update: Introduce --recursive to update nested submodules
In very large and hierarchically structured projects, one may encounter
nested submodules. In these situations, it is valuable to not only update
the submodules in the current repo (which is what is currently done by
'git submodule update'), but also to operate on all submodules at all
levels (i.e. recursing into nested submodules as well).
This patch teaches the new --recursive option to the 'git submodule update'
command. The patch also includes documentation and selftests.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In very large and hierarchically structured projects, one may encounter
nested submodules. In these situations, it is valuable to not only update
the submodules in the current repo (which is what is currently done by
'git submodule update'), but also to operate on all submodules at all
levels (i.e. recursing into nested submodules as well).
This patch teaches the new --recursive option to the 'git submodule update'
command. The patch also includes documentation and selftests.
Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-submodule.txt | diff | blob | history | |
git-submodule.sh | diff | blob | history | |
t/t7407-submodule-foreach.sh | diff | blob | history |