nixpkgs/pkgs/build-support/fetchgit
Alyssa Ross 7d40fbbc04
nix-prefetch-git: ignore global and user git config
nix-prefetch-git is either run as part of a build, usually sandboxed,
or outside a build, unsandboxed, to prefetch something that will later
be used in a build.  It's important that the latter use produces
hashes that can be reproduced by the former.

One way that they can differ is if the user's git config does
something that changes the result of git clone.  I ran into this,
because my global git config automatically enables git-lfs, whereas
nix-prefetch-git otherwise only uses git-lfs if specifically
requested.  This led to very confusing hash mismatches.
2023-09-22 06:59:40 +00:00
..
builder.sh treewide: remove usages of header and stopNest 2023-01-16 00:08:12 +02:00
default.nix fetchgit: clean up md5 references 2023-07-20 21:24:13 -07:00
deterministic-git
nix-prefetch-git nix-prefetch-git: ignore global and user git config 2023-09-22 06:59:40 +00:00
tests.nix fetchgit: make sparseCheckout a list of strings 2022-11-15 19:45:33 +01:00