nix icon indicating copy to clipboard operation
nix copied to clipboard

Git fetcher: Do not consider a null revision (i.e. workdir) to be locked

Open edolstra opened this issue 6 months ago • 0 comments

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.

edolstra avatar Jun 17 '25 08:06 edolstra