nix
nix copied to clipboard
Git fetcher: Do not consider a null revision (i.e. workdir) to be locked
Motivation
The Git fetcher returns a rev of 0000... for dirty workdirs. This caused isLocked() to consider such inputs to be locked, which is incorrect.
(Probably the fetcher shouldn't return that 0000... rev in the first place, but we're doing that for backwards compatibility.)
Context
Add :+1: to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.