summary refs log tree commit diff
path: root/pkgs/build-support/fetchgit
diff options
context:
space:
mode:
authorArnaud Spiwack <arnaud@spiwack.net>2016-01-26 16:09:52 +0100
committerArnaud Spiwack <arnaud@spiwack.net>2016-01-26 16:09:52 +0100
commit07f7ecdcce7d1b1fc9a1a241ee4c949cb8debe72 (patch)
treee14a0c6bc78a56ab1e94f7ec6394b60b1e71c607 /pkgs/build-support/fetchgit
parent981e8d55824717960809179a47bfeb81c8c1ee70 (diff)
downloadnixpkgs-07f7ecdcce7d1b1fc9a1a241ee4c949cb8debe72.tar
nixpkgs-07f7ecdcce7d1b1fc9a1a241ee4c949cb8debe72.tar.gz
nixpkgs-07f7ecdcce7d1b1fc9a1a241ee4c949cb8debe72.tar.bz2
nixpkgs-07f7ecdcce7d1b1fc9a1a241ee4c949cb8debe72.tar.lz
nixpkgs-07f7ecdcce7d1b1fc9a1a241ee4c949cb8debe72.tar.xz
nixpkgs-07f7ecdcce7d1b1fc9a1a241ee4c949cb8debe72.tar.zst
nixpkgs-07f7ecdcce7d1b1fc9a1a241ee4c949cb8debe72.zip
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')
-rwxr-xr-xpkgs/build-support/fetchgit/nix-prefetch-git4
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 6cf694dd2b1..945ba592a0a 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.