nixpkgs/pkgs/build-support/fetchgit
Atemu 11df41199b nix-prefetch-git: don't fetch everything when given a hash
It's hugely inefficient as we can't use shallow cloning (--depth=1).

This has been tested and adapted for quite a few hosts fetchgit is used on in
Nixpkgs. For those where fetching the hash directly doesn't work (most notably
git.savannah.gnu.org), we simply fall back to the old method.
2021-07-12 20:50:52 +02:00
..
builder.sh fetchgit: add lfs support 2021-01-11 09:41:06 -08:00
default.nix fetchgit: escape dot in regex 2021-02-03 18:41:50 +01:00
nix-prefetch-git nix-prefetch-git: don't fetch everything when given a hash 2021-07-12 20:50:52 +02:00