mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 22:12:43 +01:00
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. |
||
|---|---|---|
| .. | ||
| context.cc | ||
| fetchGit.cc | ||
| fetchMercurial.cc | ||
| fromTOML.cc | ||