0

astyle modifies the file provided as an argument. I just want to check if particular file is astyle confirmed. If not return error in svn pre-commit hook. But astyle man page does not say anything about return value or about how to prevent in place formatting.

rahul.deshmukhpatil
  • 977
  • 1
  • 16
  • 31

1 Answers1

1

diff original and Beautified file, | wc -l diff

Lazy Badger
  • 94,711
  • 9
  • 78
  • 110