From 07f7ecdcce7d1b1fc9a1a241ee4c949cb8debe72 Mon Sep 17 00:00:00 2001 From: Arnaud Spiwack Date: Tue, 26 Jan 2016 16:09:52 +0100 Subject: [PATCH] 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`. --- pkgs/build-support/fetchgit/nix-prefetch-git | 4 ++-- 1 file 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.