git.iko.soy/typeable/nixpkgs
on master help sign in
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`.

commit07f7ecdcce7d1b1fc9a1a241ee4c949cb8debe72 authorArnaud Spiwack <arnaud@spiwack.net> dateTue 26 Jan 2016, 16:09 (11 years ago) parent981e8d5
1 file changed+2−2
pkgs/build-support/fetchgit/nix-prefetch-git+2−2
pkgs/build-support/fetchgit/nix-prefetch-git+2−2
@@ -32,8 +32,8 @@ Options:
3232 --url url Any url understand by 'git clone'.
3333 --rev ref Any sha1 or references (such as refs/heads/master)
3434 --hash h Expected hash.
35− --deepClone Clone submodules recursively.
36− --no-deepClone Do not clone submodules.
35+ --deepClone Clone the entire repository.
36+ --no-deepClone Make a shallow clone of just the required ref.
3737 --leave-dotGit Keep the .git directories.
3838 --fetch-submodules Fetch submodules.
3939 --builder Clone as fetchgit does, but url, rev, and out option are mandatory.