Skip to content

libfetchers/git: Include revCount even if worktree is dirty#15458

Open
aionescu wants to merge 1 commit intoNixOS:masterfrom
aionescu:flake-dirty-rev-count
Open

libfetchers/git: Include revCount even if worktree is dirty#15458
aionescu wants to merge 1 commit intoNixOS:masterfrom
aionescu:flake-dirty-rev-count

Conversation

@aionescu
Copy link
Copy Markdown
Member

Motivation

This PR makes it so revCount is included for dirty Git repos too. The main motivation is to have the revCount available on inputs.self when building a flake from a dirty Git repo.

Plus, the lastModified timestamp of the rev is already included for dirty repos, so I think it's justified to include the revCount too.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@aionescu aionescu requested a review from edolstra as a code owner March 12, 2026 13:51
@github-actions github-actions Bot added the fetching Networking with the outside (non-Nix) world, input locking label Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fetching Networking with the outside (non-Nix) world, input locking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant