Merge branch 'sb/clone-shallow-passthru' into maint
commit1a88ca99db81b0a5d0f43b57df4a265055d81436
authorJunio C Hamano <gitster@pobox.com>
Mon, 11 Jul 2016 17:44:12 +0000 (11 10:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 Jul 2016 17:44:12 +0000 (11 10:44 -0700)
tree17c974f6af5538a62965a50031f0afa44f9a6db4
parent4212e483a927138019206a5e682349d6867b7d89
parent18a74a092bff41f1ffe10bd2463d3eed9a04435d
Merge branch 'sb/clone-shallow-passthru' into maint

Fix an unintended regression in v2.9 that breaks "clone --depth"
that recurses down to submodules by forcing the submodules to also
be cloned shallowly, which many server instances that host upstream
of the submodules are not prepared for.

* sb/clone-shallow-passthru:
  clone: do not let --depth imply --shallow-submodules
Documentation/git-clone.txt
builtin/clone.c