diff options
Diffstat (limited to 'pre-commit')
-rwxr-xr-x | pre-commit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pre-commit b/pre-commit index da86ca59c..ed2455237 100755 --- a/pre-commit +++ b/pre-commit | |||
@@ -1,6 +1,10 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | find src/ -name "*.c" -exec indent {} \; | 2 | find src/ -name "*.c" -exec indent {} \; |
3 | find src/ -name "*.h" -exec indent {} \; | 3 | find src/ -name "*.h" -exec indent {} \; |
4 | find src/ -name "*.c" -exec indent {} \; | ||
5 | find src/ -name "*.h" -exec indent {} \; | ||
6 | find src/ -name "*.c" -exec contrib/removetrailingwhitespace {} \; | ||
7 | find src/ -name "*.h" -exec contrib/removetrailingwhitespace {} \; | ||
4 | if test -x "`which 'dos2unix'`" | 8 | if test -x "`which 'dos2unix'`" |
5 | then | 9 | then |
6 | find src/ -name "*.c" -exec dos2unix {} \; | 10 | find src/ -name "*.c" -exec dos2unix {} \; |