summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)