diff options
Diffstat (limited to 'contrib/conf/uncrustify_precommit')
-rwxr-xr-x | contrib/conf/uncrustify_precommit | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/contrib/conf/uncrustify_precommit b/contrib/conf/uncrustify_precommit index 24873330f..8e0a605b3 100755 --- a/contrib/conf/uncrustify_precommit +++ b/contrib/conf/uncrustify_precommit | |||
@@ -28,8 +28,11 @@ done | |||
28 | 28 | ||
29 | if [ $RET = 1 ]; | 29 | if [ $RET = 1 ]; |
30 | then | 30 | then |
31 | echo "Run" | 31 | echo "================================================================" |
32 | echo "uncrustify --no-backup -c uncrustify.cfg ${crustified}" | 32 | echo " Your changes are ugly! " |
33 | echo "before committing." | 33 | echo " Uncrustify your code in your next commit. " |
34 | echo " See https://docs.gnunet.org/latest/developers/style.html#coding-style " | ||
35 | echo "================================================================" | ||
34 | fi | 36 | fi |
35 | exit $RET | 37 | # Do not fail |
38 | exit 0 | ||