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

handle status when dir is replaced with file #1736

Merged
merged 2 commits into from
Dec 22, 2024
Merged

handle status when dir is replaced with file #1736

merged 2 commits into from
Dec 22, 2024

Conversation

Byron
Copy link
Member

@Byron Byron commented Dec 22, 2024

Currently replacing a directory with a file causes gix status not to complete.

Fixes #1735 .

Tasks

  • reproduce
  • fix

This makes it easier to portably identify IO errors, especially while
the MSRV is not Rustc v1.83 which stabilizes the error kind variants.
@Byron Byron marked this pull request as ready for review December 22, 2024 09:42
@Byron Byron enabled auto-merge December 22, 2024 09:42
@Byron Byron merged commit 3af94f9 into main Dec 22, 2024
20 checks passed
@Byron Byron deleted the fix-status branch December 22, 2024 10:34
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 status IO error when directory is replaced with non-directory
1 participant