diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-07-06 13:38:13 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-06 13:38:13 -0700 |
commit | 9f1027d18a23e7c2ae60d3fb0a943e7b3342c532 (patch) | |
tree | 0a21a9f5e2868c06264cf2f979783a814dc0f00b /Documentation/git-clone.txt | |
parent | Merge branch 'jk/gpg-interface-cleanup' (diff) | |
parent | clone: do not let --depth imply --shallow-submodules (diff) | |
download | tgif-9f1027d18a23e7c2ae60d3fb0a943e7b3342c532.tar.xz |
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.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index 1b15cd7b16..ec41d3d698 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, |