Bjørn ForsmanandJulian Stecklina f686efeed4 fetchGit: fix submodule corner case by fetching all refs from cacheDir
Due to fetchGit not checking if rev is an ancestor of ref (there is even
a FIXME comment about it in the code), the cache repo might not have the
ref even though it has the rev. This doesn't matter when submodule =
false, but the submodule = true code blows up because it tries to fetch
the (missing) ref from the cache repo.

Fix this in the simplest way possible: fetch all refs from the local
cache repo when submodules = true.

TODO: Add tests.
2020-03-29 22:29:58 +02:00
2018-08-13 20:00:17 +00:00
2020-03-13 14:50:51 +01:00
2020-02-10 09:03:24 +01:00
2020-03-24 21:15:01 -07:00
2017-06-05 22:57:28 +01:00
2020-03-24 14:34:47 +01:00
2019-10-31 16:37:33 +00:00
2019-09-04 15:59:33 +02:00
2019-12-10 13:44:49 +01:00
2019-11-26 22:07:28 +01:00
2019-11-07 11:53:28 +01:00
2020-03-13 18:05:22 +01:00
2020-03-13 18:34:10 +01:00
2020-03-13 18:05:22 +01:00

Open Collective supporters

Nix, the purely functional package manager

Nix is a new take on package management that is fairly unique. Because of its purity aspects, a lot of issues found in traditional package managers don't appear with Nix.

To find out more about the tool, usage and installation instructions, please read the manual, which is available on the Nix website at https://nixos.org/nix/manual.

Contributing

Take a look at the Hacking Section of the manual. It helps you to get started with building Nix from source.

License

Nix is released under the LGPL v2.1

S
Description
Working fork of Lix - carries the adaptive load-aware build-remote patch. Upstream: gerrit.lix.systems
Readme
92 MiB
Languages
C++ 74.9%
Python 11.7%
Nix 6.1%
Shell 3.6%
Meson 2%
Other 1.6%