mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 01:26:15 +02:00
parent
e026bc3b05
commit
212e72c609
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ namespace nix {
|
||||||
|
|
||||||
class Store;
|
class Store;
|
||||||
class EvalState;
|
class EvalState;
|
||||||
struct Bindings;
|
class Bindings;
|
||||||
|
|
||||||
struct MixEvalArgs : virtual Args
|
struct MixEvalArgs : virtual Args
|
||||||
{
|
{
|
||||||
|
|
|
@ -56,7 +56,7 @@ GitInfo exportGit(ref<Store> store, const std::string & uri,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ref) ref = "master";
|
if (!ref) ref = "master"s;
|
||||||
|
|
||||||
if (rev != "") {
|
if (rev != "") {
|
||||||
std::regex revRegex("^[0-9a-fA-F]{40}$");
|
std::regex revRegex("^[0-9a-fA-F]{40}$");
|
||||||
|
|
Loading…
Reference in a new issue