diff options
author | Arnaud Spiwack <arnaud@spiwack.net> | 2016-01-26 16:09:52 +0100 |
---|---|---|
committer | Arnaud Spiwack <arnaud@spiwack.net> | 2016-01-26 16:09:52 +0100 |
commit | 07f7ecdcce7d1b1fc9a1a241ee4c949cb8debe72 (patch) | |
tree | e14a0c6bc78a56ab1e94f7ec6394b60b1e71c607 /pkgs/build-support/fetchgit/nix-prefetch-git | |
parent | 981e8d55824717960809179a47bfeb81c8c1ee70 (diff) |
Fix usage message in `nix-prefetch-git`
The comment related to the `deepClone` and `no-deepClone` options was
misleading as these options have no relation with submodules, but on the
the depth in `git clone --depth n`.
Diffstat (limited to 'pkgs/build-support/fetchgit/nix-prefetch-git')
-rwxr-xr-x | pkgs/build-support/fetchgit/nix-prefetch-git | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git index 6cf694dd2b14..945ba592a0ae 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -32,8 +32,8 @@ Options: --url url Any url understand by 'git clone'. --rev ref Any sha1 or references (such as refs/heads/master) --hash h Expected hash. - --deepClone Clone submodules recursively. - --no-deepClone Do not clone submodules. + --deepClone Clone the entire repository. + --no-deepClone Make a shallow clone of just the required ref. --leave-dotGit Keep the .git directories. --fetch-submodules Fetch submodules. --builder Clone as fetchgit does, but url, rev, and out option are mandatory. |