lix/src
Eelco Dolstra d1165d8791
Require shallow clones to be requested explicitly
If you do a fetchTree on a Git repository, whether the result contains
a revCount attribute should not depend on whether that repository
happens to be a shallow clone or not. That would complicate caching a
lot and would be semantically messy. So applying fetchTree/fetchGit to
a shallow repository is now an error unless you pass the attribute
'shallow = true'. If 'shallow = true', we don't return revCount, even
if the repository is not actually shallow.

Note that Nix itself is not doing shallow clones at the moment. But it
could do so as an optimisation if the user specifies 'shallow = true'.

Issue #2988.
2020-03-17 22:35:29 +01:00
..
build-remote Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
cpptoml bump cpptoml to v0.1.1 2019-05-29 17:01:39 +08:00
libexpr Require shallow clones to be requested explicitly 2020-03-17 22:35:29 +01:00
libmain Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
libstore Require shallow clones to be requested explicitly 2020-03-17 22:35:29 +01:00
libutil Merge remote-tracking branch 'origin/master' into flakes 2020-02-14 22:42:35 +01:00
nix Unified fetcher caching system 2020-03-17 22:35:29 +01:00
nix-build Merge remote-tracking branch 'origin/master' into flakes 2020-03-04 13:58:42 +01:00
nix-channel Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
nix-collect-garbage Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
nix-copy-closure Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
nix-daemon Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
nix-env Merge remote-tracking branch 'origin/master' into flakes 2020-03-11 17:03:38 +01:00
nix-instantiate findAlongAttrPath(): Return position 2020-02-07 14:08:24 +01:00
nix-prefetch-url findAlongAttrPath(): Return position 2020-02-07 14:08:24 +01:00
nix-store Merge remote-tracking branch 'origin/master' into flakes 2020-03-11 15:17:21 +01:00
resolve-system-dependencies Make the Store API more type-safe 2019-12-10 22:06:05 +01:00