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

Switching git branches in Windows while bash running causes corrupted files #2574

Closed
devonbessemer opened this issue Oct 18, 2017 · 1 comment

Comments

@devonbessemer
Copy link

devonbessemer commented Oct 18, 2017

  • Your Windows build number: (Type ver at a Windows Command Prompt)

Microsoft Windows [Version 10.0.16299.19]

  • What you're doing and what's happening: (Copy&paste specific commands and their output, or include screen shots)

Checking out from Windows git application while bash is running. Files that are changed (committed on the previous branch) have a high tendency to become corrupted and unable to be opened or deleted. Rebooting results in the files deleted, but a git revert restores them to working order.

I haven't yet reproduced the bug by doing a checkout in bash, the problem seems to be only if you are checking out in Windows when bash is running.

May be related to #1662 but I noticed it was reproducible often by switching between branches, haven't seen it on other operations.

@devonbessemer
Copy link
Author

Definitely a dup of 1662, happens mostly when a watch is in place in bash. In this case, using webpack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants