summaryrefslogtreecommitdiff
path: root/contrib/uncrustify_precommit
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/uncrustify_precommit')
-rwxr-xr-xcontrib/uncrustify_precommit2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/uncrustify_precommit b/contrib/uncrustify_precommit
index b9ec0844..8c4be7c5 100755
--- a/contrib/uncrustify_precommit
+++ b/contrib/uncrustify_precommit
@@ -5,6 +5,8 @@
exec 1>&2
RET=0
+# Note: we exclude src/mustach from our indentation rules as
+# this is the virtually unchanged copylib of mustach
changed=$(git diff --cached --name-only) | grep -v mustach
crustified=""