]> git.ipfire.org Git - thirdparty/git.git/commit
clone: Add the --recurse-submodules option as alias for --recursive
authorJens Lehmann <Jens.Lehmann@web.de>
Thu, 4 Nov 2010 20:27:12 +0000 (21:27 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Nov 2010 17:28:01 +0000 (10:28 -0700)
commitccdd3da6527ca7d8d731e691b9ff0f9b8657298e
tree6748cd648bfbf2131ed41311593952a48b4454e0
parentca209065f3cc3462eb0ae6090f6b13f38aa2114c
clone: Add the --recurse-submodules option as alias for --recursive

Since 1.6.5 "git clone" honors the --recursive option to recursively check
out submodules too. As this option can easily be misinterpreted when it is
added to other commands like "git grep", add the new --recurse-submodules
option as an alias for --recursive so the same option can be used for all
commands recursing into submodules.

Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-clone.txt
builtin/clone.c