parent
e026bc3b05
commit
212e72c609
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ namespace nix {
|
|||
|
||||
class Store;
|
||||
class EvalState;
|
||||
struct Bindings;
|
||||
class Bindings;
|
||||
|
||||
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 != "") {
|
||||
std::regex revRegex("^[0-9a-fA-F]{40}$");
|
||||
|
|
Loading…
Reference in a new issue