-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
"Discard all changes" doesn't delete files #91080
Comments
The files are in a |
Having the same problem on Windows (Ver. 1909). Have many untracked files i want do discard but nothing happens |
@borekb Are you on git 2.25? Can you repro on an earlier git? |
having the same issue, |
@joaomoreno It is indeed a regression with the Git 2.25. Try Git 2.24:
At this point, VSCode behaves correctly. ✅ Let's go back to Git 2.25:
The issue is now reproducible again. 🚫 |
@borekb Git has since released 2.26, can you check? |
@joaomoreno All's fine with 2.26.0 again 🎉. Do you know if this was a Git bug? Discarding changes should be pretty stable by now I'd guess?! |
Thanks a lot for confirming! Yeah, this wasn't the first bug we had with git 2.25... it was definitely buggy with regards to file paths... |
VS Code version: Code 1.42.1 (c47d83b, 2020-02-11T14:44:27.652Z)
OS version: macOS Catalina (Darwin x64 19.3.0)
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
I've also verified this in Insiders 1.43.0-insider (9c341b3, 2020-02-20T05:36:57.672Z)
The text was updated successfully, but these errors were encountered: