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
Cannot git_reset_default
on a deleted file
#2260
Comments
Eek. Is there some mechanism by which git core will support this workflow, or are you suggesting that libgit2 should be able to do better? Running rename detection during |
Is the error simply that staged deletions can't be reset? |
@jspahrsummers Yep, I bet that's it.
|
git_reset_default
on a renamed filegit_reset_default
on a deleted file
Hmm, so this is kind of an interesting case. I don't think rename detection is required for this to work correctly. The problem is that I think the correct behavior is to ignore |
Did this get fixed with the PR? |
I think #2286 fixed this, feel free to reopen if there's still a problem here! |
main.m
to something else.git.git
shows it as a rename.git_reset_default
with the old name.The text was updated successfully, but these errors were encountered: