Skip to content

Conversation

skshetry
Copy link
Collaborator

@skshetry skshetry commented Sep 2, 2025

Avoid raising errors in data_status() when Git HEAD does not contain a DVC repository. Instead, fall back to an empty index.

Tests now cover both unborn and committed Git repos, with and without subdirs.

@github-project-automation github-project-automation bot moved this to Backlog in DVC Sep 2, 2025
@skshetry skshetry self-assigned this Sep 2, 2025
@skshetry skshetry added bugfix fixes bug A: cli Related to the CLI A: status Related to the dvc diff/list/status labels Sep 2, 2025
@skshetry skshetry removed this from DVC Sep 2, 2025
@skshetry skshetry added this to DVC Sep 2, 2025
@github-project-automation github-project-automation bot moved this to Backlog in DVC Sep 2, 2025
@skshetry skshetry moved this from Backlog to Review In Progress in DVC Sep 2, 2025
Avoid raising errors in `data_status()` when Git HEAD does not contain a DVC
repository. Instead, fall back to an empty index.

Tests now cover both unborn and committed Git repos, with and without subdirs.
@skshetry skshetry force-pushed the status-index-notdvcrepo-error branch from dabf250 to 87fe5f3 Compare September 2, 2025 06:10
@skshetry skshetry merged commit 75c5d17 into main Sep 2, 2025
40 checks passed
@skshetry skshetry deleted the status-index-notdvcrepo-error branch September 2, 2025 06:30
@github-project-automation github-project-automation bot moved this from Review In Progress to Done in DVC Sep 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: cli Related to the CLI A: status Related to the dvc diff/list/status bugfix fixes bug
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant