aboutsummaryrefslogtreecommitdiff
path: root/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to 'pre-commit')
-rwxr-xr-xpre-commit4
1 files changed, 2 insertions, 2 deletions
diff --git a/pre-commit b/pre-commit
index 5213f2cf4..777728a6b 100755
--- a/pre-commit
+++ b/pre-commit
@@ -12,8 +12,8 @@ find $PATHS -name "*.c" -exec indent {} \;
12find $PATHS -name "*.h" -exec indent {} \; 12find $PATHS -name "*.h" -exec indent {} \;
13find $PATHS -name "*.c" -exec indent {} \; 13find $PATHS -name "*.c" -exec indent {} \;
14find $PATHS -name "*.h" -exec indent {} \; 14find $PATHS -name "*.h" -exec indent {} \;
15find $PATHS -name "*.c" -exec contrib/removetrailingwhitespace {} \; 15find $PATHS -name "*.c" -exec contrib/removetrailingwhitespace.py {} \;
16find $PATHS -name "*.h" -exec contrib/removetrailingwhitespace {} \; 16find $PATHS -name "*.h" -exec contrib/removetrailingwhitespace.py {} \;
17if test -x "`which 'dos2unix'`" 17if test -x "`which 'dos2unix'`"
18then 18then
19 find $PATHS -name "*.c" -exec dos2unix {} \; 19 find $PATHS -name "*.c" -exec dos2unix {} \;