author | Johan Herland <johan@herland.net> | |
Wed, 19 Aug 2009 01:45:24 +0000 (03:45 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 19 Aug 2009 05:59:58 +0000 (22:59 -0700) | ||
commit | 64b19ffeddda499e7380b38b43a3dee579734905 | |
tree | fb9c4e3036fdf0e8fbed34e934431a9b38201dca | tree | snapshot |
parent | b13fd5c1a2bd450cdf7b853e0c4861f361882a18 | commit | diff |
git submodule status: Add --recursive to recurse into nested submodules
In very large and hierarchically structured projects, one may encounter
nested submodules. In these situations, it is valuable to not only show
status for all the submodules in the current repo (which is what is
currently done by 'git submodule status'), but also to show status for
all submodules at all levels (i.e. recursing into nested submodules as
well).
This patch teaches the new --recursive option to the 'git submodule status'
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 show
status for all the submodules in the current repo (which is what is
currently done by 'git submodule status'), but also to show status for
all submodules at all levels (i.e. recursing into nested submodules as
well).
This patch teaches the new --recursive option to the 'git submodule status'
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 |