-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Never consider submodules for stashing #1881
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
Conversation
Any way we can document this new behavior with a test? |
I took some influence from the |
I like it, thanks! 🎇 Anybody else have an opinion? |
The janky build on Windows reported a failure in the tests. Has it been checked out?
|
Looks like a file access issue in Windows. What's the janky test exactly? We should re-run it. |
It's this one https://janky.rs.github.com/634985/output which I think is the only one that's been run. No idea if it's just the CI being dirty. |
Yeah, I've no idea what that failure means. If it's a problem in the PR, I'm happy to fix it, but I'd need some pointers. :\ |
...before the helper's cleanup method tries to delete their files.
👆 Proposed fix to the win32 errors. Basically, the cleanup method being injected by using This patch makes the test code a bit noisier, but ensures that those resources are freed before the files are deleted. @jspahrsummers, what do you think? |
@ben Thanks! 👍 from me. |
Looks perfect. Thanks for looking into this @ben! |
Never consider submodules for stashing
Never consider submodules for stashing
This matches the behavior of
git stash save
in my testing.