Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix git status check for unchanged tracked file #90

Merged
merged 2 commits into from
Jun 16, 2023

Conversation

sirbrillig
Copy link
Owner

@sirbrillig sirbrillig commented Jun 16, 2023

git status on a tracked, unchanged file will return an empty string. A regression in the refactoring of the git module made this return an exception. This PR fixes the issue by removing the guard.

This also adds tests to guard against this bug.

Fixes #89

@sirbrillig sirbrillig merged commit a3cf13a into trunk Jun 16, 2023
@sirbrillig sirbrillig deleted the fix/git-status-check-for-tracked-file branch June 16, 2023 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

git-base option reports File does not appear to be tracked by git
1 participant