diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-07-30 10:47:14 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-07-30 10:47:14 +0200 |
commit | f3181db7c364e4f91d68fb987164402dc33f68ce (patch) | |
tree | b3af7e9de477006c2ba0fe623c95030f344ef3b3 /pre-commit | |
download | anastasis-gtk-f3181db7c364e4f91d68fb987164402dc33f68ce.tar.gz anastasis-gtk-f3181db7c364e4f91d68fb987164402dc33f68ce.tar.bz2 anastasis-gtk-f3181db7c364e4f91d68fb987164402dc33f68ce.zip |
folding history in preparation of GNU Anastasis-gtk v0.0.0 release
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 0000000..da86ca5 --- /dev/null +++ b/pre-commit @@ -0,0 +1,8 @@ +#!/bin/sh +find src/ -name "*.c" -exec indent {} \; +find src/ -name "*.h" -exec indent {} \; +if test -x "`which 'dos2unix'`" +then + find src/ -name "*.c" -exec dos2unix {} \; + find src/ -name "*.h" -exec dos2unix {} \; +fi |