lix/src
Maximilian Bosch 2857b1baaf
Add explicit allRefs = true; argument to fetchGit
Sometimes it's necessary to fetch a git repository at a revision and
it's unknown which ref contains the revision in question. An example
would be a Cargo.lock which only provides the URL and the revision when
using a git repository as build input.

However it's considered a bad practice to perform a full checkout of a
repository since this may take a lot of time and can eat up a lot of
disk space. This patch makes a full checkout explicit by adding an
`allRefs` argument to `builtins.fetchGit` which fetches all refs if
explicitly set to true.

Closes #2409
2020-12-22 10:46:00 +01:00
..
build-remote Lower verbosity for 'Failed to find a machine' message 2020-12-01 13:43:36 +01:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libexpr Merge pull request #4355 from Infinisil/private-value-type 2020-12-21 12:38:47 +01:00
libfetchers Add explicit allRefs = true; argument to fetchGit 2020-12-22 10:46:00 +01:00
libmain Ask for confirmation before allowing flake Nix configuration settings 2020-11-26 12:37:23 +01:00
libstore Overhaul store subclassing 2020-12-20 15:47:14 +00:00
libutil Add lvlNotice log level 2020-12-10 16:41:24 +01:00
nix Replace Value type setters with mk* functions 2020-12-18 21:48:22 +01:00
nix-build nix-build: Fix #4197 output order regression 2020-11-13 17:49:27 +01:00
nix-channel Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-collect-garbage Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-copy-closure Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-daemon Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-env Rename Value::normalType() -> Value::type() 2020-12-17 14:45:45 +01:00
nix-instantiate Split out local-fs-store.hh 2020-10-09 20:18:08 +00:00
nix-prefetch-url Remove static variable name clashes 2020-10-06 13:49:20 +02:00
nix-store Allow substituting paths when building remotely using ssh-ng:// 2020-11-05 20:12:37 +01:00
resolve-system-dependencies lstat() cleanup 2020-09-23 19:17:28 +02:00