aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-09-28 08:55:17 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-09-28 08:55:17 +0200
commit58a5c0857b80627f2402a5728e4a0a1dadf6bccc (patch)
treebe9df7f9f20230d2b9fc7317f89c1abcf410866f
parentd645ea5c8e2c1fd087669a442089323f75dce0ba (diff)
exclude mustach from indentation requirements
-rwxr-xr-xcontrib/uncrustify_precommit4
1 files 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;