diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 22:37:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 22:37:19 +0000 |
commit | 4bd2dd5f82dceecd597b5829bf43b2dda9ebb505 (patch) | |
tree | eefec7343dcafac33c1f5bd36cef628229211741 /pre-commit | |
parent | 91e7c712a11e09ad4849f6272fd79abe3505dec2 (diff) | |
download | gnunet-gtk-4bd2dd5f82dceecd597b5829bf43b2dda9ebb505.tar.gz gnunet-gtk-4bd2dd5f82dceecd597b5829bf43b2dda9ebb505.zip |
indent
Diffstat (limited to 'pre-commit')
-rwxr-xr-x | pre-commit | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pre-commit b/pre-commit new file mode 100755 index 00000000..2fc55423 --- /dev/null +++ b/pre-commit | |||
@@ -0,0 +1,8 @@ | |||
1 | #!/bin/sh | ||
2 | find src/ -name "*.c" -exec indent {} \; | ||
3 | find src/ -name "*.c" -exec indent {} \; | ||
4 | if test -x "`which 'dos2unix'`" | ||
5 | then | ||
6 | find src/ -name "*.c" -exec dos2unix {} \; | ||
7 | find src/ -name "*.c" -exec dos2unix {} \; | ||
8 | fi | ||