diff options
-rwxr-xr-x | pkgs/build-support/fetchgit/nix-prefetch-git | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git index ceedf313f28e..22d46257075e 100755 --- a/pkgs/build-support/fetchgit/nix-prefetch-git +++ b/pkgs/build-support/fetchgit/nix-prefetch-git @@ -109,7 +109,7 @@ checkout_hash(){ hash=$(hash_from_ref $ref) fi - git fetch ${builder:+--progress} origin || return 1 + git fetch -t ${builder:+--progress} origin || return 1 git checkout -b $branchName $hash || return 1 } |