-
Notifications
You must be signed in to change notification settings - Fork 925
Don't save *.rs.bk if VCS is detected #1114
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
Comments
hear! hear! |
Any progress on that? This should be as simple as checking whether |
This is not really on my radar, priority-wise. If anyone would like to have a go at this I'd be happy to mentor. |
We're on our way to emitting backup files by default, so I don't think this will be so much of an issue |
@nrc is this rejected? |
@tshepang We don't create bk files by default any more, so I don't think it is that useful (if the user turns on the option, I assume they really want it, not VCS-dependent). |
oh, that's fine |
We've gotten a few issues on Cargo to add
*.rs.bk
to the default gitignore, but I personally like to keep that pretty clean and I'd prefer if rustfmt just didn't generate these files by default. Especially if git is detected, and perhaps if the working directory is clean, could bk files not be generated by default?The text was updated successfully, but these errors were encountered: