google-java-format-gradle-plugin
google-java-format-gradle-plugin copied to clipboard
Consider making backups of the files before writing formatted content
If an IOException occurs during writing the formatted content, or if the formatter itself changes the content in an unexpected way (see, for example, https://github.com/google/google-java-format/issues/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.
Why don't you use svc or git?
I do! How exactly does that help?