Skip to content

Git fetcher: Improve error message for untracked files (backport #12870)#12883

Merged
edolstra merged 3 commits into2.27-maintenancefrom
mergify/bp/2.27-maintenance/pr-12870
Apr 2, 2025
Merged

Git fetcher: Improve error message for untracked files (backport #12870)#12883
edolstra merged 3 commits into2.27-maintenancefrom
mergify/bp/2.27-maintenance/pr-12870

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Apr 2, 2025

Motivation

It now says:

error: Path 'foo/bar' in the repository "/path/to/repo" is not tracked by Git.

       To make it visible to Nix, run:

       git -C "/path/to/repo" add "foo/bar"

Context


Add 👍 to pull requests you find important.

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


This is an automatic backport of pull request #12870 done by [Mergify](https://mergify.com).

@mergify mergify bot requested a review from edolstra as a code owner April 2, 2025 19:15
@mergify mergify bot added automatic backport This PR is a backport produced by automation (does not trigger backporting) merge-queue labels Apr 2, 2025
@github-actions github-actions bot added the fetching Networking with the outside (non-Nix) world, input locking label Apr 2, 2025
@edolstra edolstra enabled auto-merge April 2, 2025 19:26
@edolstra edolstra merged commit c0b4fb0 into 2.27-maintenance Apr 2, 2025
21 of 22 checks passed
@edolstra edolstra deleted the mergify/bp/2.27-maintenance/pr-12870 branch April 2, 2025 19:30
@mergify
Copy link
Copy Markdown
Contributor Author

mergify bot commented Apr 2, 2025

This pull request has been removed from the queue for the following reason: draft pull request creation failed.

The draft pull request cannot be created

If you want to requeue this pull request, you can post a @mergifyio requeue comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automatic backport This PR is a backport produced by automation (does not trigger backporting) fetching Networking with the outside (non-Nix) world, input locking merge-queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants