summaryrefslogtreecommitdiff
path: root/Documentation/git-clone.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-07-06 20:38:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-07-06 20:38:13 (GMT)
commit9f1027d18a23e7c2ae60d3fb0a943e7b3342c532 (patch)
tree0a21a9f5e2868c06264cf2f979783a814dc0f00b /Documentation/git-clone.txt
parented0f7bdec93478e280c9faa2a8ffb13a183cda09 (diff)
parent18a74a092bff41f1ffe10bd2463d3eed9a04435d (diff)
downloadgit-9f1027d18a23e7c2ae60d3fb0a943e7b3342c532.zip
git-9f1027d18a23e7c2ae60d3fb0a943e7b3342c532.tar.gz
git-9f1027d18a23e7c2ae60d3fb0a943e7b3342c532.tar.bz2
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
Diffstat (limited to 'Documentation/git-clone.txt')
-rw-r--r--Documentation/git-clone.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index 1b15cd7..ec41d3d 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -191,9 +191,8 @@ objects from the source repository into a pack in the cloned repository.
Create a 'shallow' clone with a history truncated to the
specified number of commits. Implies `--single-branch` unless
`--no-single-branch` is given to fetch the histories near the
- tips of all branches. This implies `--shallow-submodules`. If
- you want to have a shallow superproject clone, but full submodules,
- also pass `--no-shallow-submodules`.
+ tips of all branches. If you want to clone submodules shallowly,
+ also pass `--shallow-submodules`.
--[no-]single-branch::
Clone only the history leading to the tip of a single branch,