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

Consider making backups of the files before writing formatted content #7

Open
sherter opened this issue May 6, 2016 · 2 comments
Open

Comments

@sherter
Copy link
Owner

sherter commented May 6, 2016

If an IOException occurs during writing the formatted content, or if the formatter itself changes the content in an unexpected way (see, for example, google/google-java-format#47), we might loose data. Since we will eventually recommend people to run the formatting task in a pre-commit hook, this could be very bad.

@sherter sherter changed the title Consider making backups of the files before formatting Consider making backups of the files before writing formatted content May 6, 2016
@saifali40
Copy link

saifali40 commented Apr 18, 2019

Why don't you use svc or git?

@sherter
Copy link
Owner Author

sherter commented Apr 18, 2019

I do! How exactly does that help?

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

No branches or pull requests

2 participants