Improve logging when git diff fails by kelvinou01 · Pull Request #1490 · palantir/palantir-java-format (original) (raw)

Before this PR

When git diff fails, we don't tell the user the exit code and stderr/stdout, meaning the user has to dive in and debug.

After this PR

==COMMIT_MSG==
Improve logging when git diff fails
==COMMIT_MSG==

Possible downsides?