aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-05-13 22:00:04 +0200
committerChristian Grothoff <christian@grothoff.org>2023-05-13 22:00:04 +0200
commitbac4932cf5d8f5cb1af6eca5fcdac05239489e2c (patch)
tree87f376af58989f2d670083e5599de236118efffd /contrib
parentb7d1ca4cd93ef8582b9b7d97e955ec5363ef2ae3 (diff)
-fix templating tests
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/uncrustify_precommit4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/uncrustify_precommit b/contrib/uncrustify_precommit
index 853c8125d..c10bc2673 100755
--- a/contrib/uncrustify_precommit
+++ b/contrib/uncrustify_precommit
@@ -4,7 +4,7 @@
exec 1>&2
RET=0
-changed=$(git diff --cached --name-only | grep -v mustach)
+changed=$(git diff --cached --name-only | grep -v mustach | grep -v templating/test./)
crustified=""
for f in $changed;
@@ -28,7 +28,7 @@ done
if [ $RET = 1 ];
then
echo "Run"
- echo "uncrustify --no-backup -c uncrustify.cfg ${crustified}"
+ echo "uncrustify --replace -c uncrustify.cfg ${crustified}"
echo "before committing."
fi
exit $RET