summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-12-13 14:18:22 +0100
committerErich Eckner <git@eckner.net>2017-12-13 14:18:22 +0100
commitbdc672a124e4d1781d69051895f7317c945c1bd7 (patch)
treed5cfcf780b061f50023637ac5c8ebe66704e0395
parent0917bfd82c71fc3b60aebabfcfba64c3c3462c23 (diff)
downloadgit-hooks-master.tar.xz
check-pascal: check whitespace only in *.pas *.lpr and *.incHEADmaster
-rwxr-xr-xcheck-pascal2
1 files changed, 1 insertions, 1 deletions
diff --git a/check-pascal b/check-pascal
index 36cf6ce..7d66ba7 100755
--- a/check-pascal
+++ b/check-pascal
@@ -39,7 +39,7 @@ EOF
fi
# If there are whitespace errors, print the offending file names and fail.
-git diff-index --check --cached $against -- || exit $?
+git diff-index --check --cached $against -- '*.pas' '*.lpr' '*.inc' || exit $?
TREE=$(git write-tree)