Files
lix/src/libfetchers
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
..
2020-10-28 17:54:28 -05:00
2020-10-28 17:54:28 -05:00
2020-10-28 17:54:28 -05:00
2020-07-03 14:50:07 +02:00
2020-10-28 17:54:28 -05:00
2020-10-06 14:52:30 +02:00
2020-06-16 14:28:41 +02:00
2020-10-06 13:49:20 +02:00
2020-10-28 17:54:28 -05:00
2020-05-30 00:44:11 +02:00
2020-10-06 13:49:20 +02:00