Merge branch 'sb/clone-shallow-passthru'
commit9f1027d18a23e7c2ae60d3fb0a943e7b3342c532
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 Jul 2016 20:38:13 +0000 (6 13:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Jul 2016 20:38:13 +0000 (6 13:38 -0700)
tree0a21a9f5e2868c06264cf2f979783a814dc0f00b
parented0f7bdec93478e280c9faa2a8ffb13a183cda09
parent18a74a092bff41f1ffe10bd2463d3eed9a04435d
Merge branch 'sb/clone-shallow-passthru'

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
t/t5614-clone-submodules.sh