summaryrefslogtreecommitdiff
path: root/t/t4013/diff.rev-list_--parents_HEAD
diff options
context:
space:
mode:
authorLibravatar Johan Herland <johan@herland.net>2009-08-20 01:07:43 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-08-20 16:59:50 -0700
commite7fed18a89fae97655687e19f13cd802d8d70845 (patch)
treee9bd4f339a705f2290348e42a96ed69986cbe514 /t/t4013/diff.rev-list_--parents_HEAD
parentt7407: Use 'rev-parse --short' rather than bash's substring expansion notation (diff)
downloadtgif-e7fed18a89fae97655687e19f13cd802d8d70845.tar.xz
git clone: Add --recursive to automatically checkout (nested) submodules
Many projects using submodules expect all submodules to be checked out in order to build/work correctly. A common command sequence for developers on such projects is: git clone url/to/project cd project git submodule update --init (--recursive) This patch introduces the --recursive option to git-clone. The new option causes git-clone to recursively clone and checkout all submodules of the cloned project. Hence, the above command sequence can be reduced to: git clone --recursive url/to/project --recursive is ignored if no checkout is done by the git-clone. The patch also includes documentation and a selftest. Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.rev-list_--parents_HEAD')
0 files changed, 0 insertions, 0 deletions