1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 23:28:26 -04:00
nix/src/libexpr/primops
Daiderd Jordan 7e35e914c1
fetchGit: allow fetching explicit refs
Trying to fetch refs that are not in refs/heads currently fails because
it looks for refs/heads/refs/foo instead of refs/foo.

eg.

	builtins.fetchGit {
	  url = https://github.com/NixOS/nixpkgs.git;
	  ref = "refs/pull/1024/head;
	}
2018-12-14 20:12:22 +01:00
..
fetchGit.cc fetchGit: allow fetching explicit refs 2018-12-14 20:12:22 +01:00
fetchMercurial.cc Solve hg "abandoned transaction" issue 2018-12-06 13:57:59 +01:00
fromTOML.cc Fix build on 32-bit systems and macOS 2018-07-11 21:12:18 +02:00