lix/src/libexpr/primops
Bjørn Forsman 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
..
context.cc Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
fetchGit.cc fetchGit: fix submodule corner case by fetching all refs from cacheDir 2020-03-29 22:29:58 +02:00
fetchMercurial.cc Make the Store API more type-safe 2019-12-10 22:06:05 +01:00
fromTOML.cc Fix abort in fromTOML 2019-06-24 17:09:09 +02:00