From 58a5c0857b80627f2402a5728e4a0a1dadf6bccc Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 28 Sep 2022 08:55:17 +0200 Subject: exclude mustach from indentation requirements --- contrib/uncrustify_precommit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/uncrustify_precommit b/contrib/uncrustify_precommit index 648e6e245..853c8125d 100755 --- a/contrib/uncrustify_precommit +++ b/contrib/uncrustify_precommit @@ -2,9 +2,9 @@ # use as .git/hooks/pre-commit exec 1>&2 -return 0 + RET=0 -changed=$(git diff --cached --name-only) +changed=$(git diff --cached --name-only | grep -v mustach) crustified="" for f in $changed; -- cgit v1.2.3