1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 13:51:16 +02:00
This commit is contained in:
Eelco Dolstra 2025-06-23 14:07:26 +00:00 committed by GitHub
commit 8f99cc95d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -883,7 +883,8 @@ struct GitInputScheme : InputScheme
bool isLocked(const Input & input) const override
{
return (bool) input.getRev();
auto rev = input.getRev();
return rev && rev != nullRev;
}
};