aboutsummaryrefslogtreecommitdiff
path: root/contrib/conf/uncrustify_precommit
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/conf/uncrustify_precommit')
-rwxr-xr-xcontrib/conf/uncrustify_precommit11
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
29if [ $RET = 1 ]; 29if [ $RET = 1 ];
30then 30then
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 "================================================================"
34fi 36fi
35exit $RET 37# Do not fail
38exit 0