mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Merge 59c7dac867
into f9afc1e68c
This commit is contained in:
commit
8f99cc95d7
1 changed files with 2 additions and 1 deletions
|
@ -883,7 +883,8 @@ struct GitInputScheme : InputScheme
|
||||||
|
|
||||||
bool isLocked(const Input & input) const override
|
bool isLocked(const Input & input) const override
|
||||||
{
|
{
|
||||||
return (bool) input.getRev();
|
auto rev = input.getRev();
|
||||||
|
return rev && rev != nullRev;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue