aboutsummaryrefslogtreecommitdiff
path: root/pkgs/build-support/fetchgit
diff options
context:
space:
mode:
authorDima <dgoldin+github@protonmail.ch>2019-11-26 20:41:19 +0100
committerDima <dgoldin+github@protonmail.ch>2019-11-26 20:43:23 +0100
commitdf7f3e0f983a7f6df7ade0b280c6e856e834ddf0 (patch)
treeaef02761142abdb10a89f2ace3b3c66a47f9252b /pkgs/build-support/fetchgit
parent8361442cf73c13f9d8464a1c403032c63af19355 (diff)
nix-prefetch-git: list --branch-name in help
Listing the option and brief explanation. Addresses: https://github.com/NixOS/nixpkgs/issues/74182
Diffstat (limited to 'pkgs/build-support/fetchgit')
-rwxr-xr-xpkgs/build-support/fetchgit/nix-prefetch-git1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git
index 931be1a37007..8020ba46f3f1 100755
--- a/pkgs/build-support/fetchgit/nix-prefetch-git
+++ b/pkgs/build-support/fetchgit/nix-prefetch-git
@@ -42,6 +42,7 @@ Options:
--url url Any url understood by 'git clone'.
--rev ref Any sha1 or references (such as refs/heads/master)
--hash h Expected hash.
+ --branch-name Branch name to check out into
--deepClone Clone the entire repository.
--no-deepClone Make a shallow clone of just the required ref.
--leave-dotGit Keep the .git directories.