diff options
author | Stefan Beller <sbeller@google.com> | 2016-02-29 18:07:20 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-03-01 11:57:21 -0800 |
commit | 72290d6a1d8cccd22f58c21418c0f75bfcdf574d (patch) | |
tree | c82b01d78651d3460c3b68b147a3ba1aebbcc0e3 /Documentation | |
parent | 2335b870fa7942d9ca9e73e96e35171fda741376 (diff) | |
download | git-72290d6a1d8cccd22f58c21418c0f75bfcdf574d.tar.gz git-72290d6a1d8cccd22f58c21418c0f75bfcdf574d.tar.xz |
clone: allow an explicit argument for parallel submodule clones
Just pass it along to "git submodule update", which may pick reasonable
defaults if you don't specify an explicit number.
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-clone.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt index 6bf000dac..6db7b6d37 100644 --- a/Documentation/git-clone.txt +++ b/Documentation/git-clone.txt @@ -14,7 +14,7 @@ SYNOPSIS [-o <name>] [-b <name>] [-u <upload-pack>] [--reference <repository>] [--dissociate] [--separate-git-dir <git dir>] [--depth <depth>] [--[no-]single-branch] - [--recursive | --recurse-submodules] [--] <repository> + [--recursive | --recurse-submodules] [--jobs <n>] [--] <repository> [<directory>] DESCRIPTION @@ -221,6 +221,10 @@ objects from the source repository into a pack in the cloned repository. The result is Git repository can be separated from working tree. +-j <n>:: +--jobs <n>:: + The number of submodules fetched at the same time. + Defaults to the `submodule.fetchJobs` option. <repository>:: The (possibly remote) repository to clone from. See the |