summaryrefslogtreecommitdiff
path: root/git-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'git-hooks')
-rwxr-xr-xgit-hooks/sanitize-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/sanitize-commit b/git-hooks/sanitize-commit
index 1c4906e..5d97553 100755
--- a/git-hooks/sanitize-commit
+++ b/git-hooks/sanitize-commit
@@ -752,7 +752,7 @@ while (<DIFF>) {
if ($file =~ /(~|\.(old|bak))$/i) {
complain("Adding backup file", "backup") if ($new_file && !defined($cfg{backup}));
$ws_check = 0;
- } elsif ($file =~ m,^tests/.*/(test)?data/,) {
+ } elsif ($file =~ m,^tests/.*/(perf|test)?data/,) {
$ws_check = $eof_check = $apple_check = $no_copyright = 0;
} elsif ($file =~ /\.(prl|la|pc|ilk)$/i) {
complain("Adding build artifact", "generated") if ($new_file && !defined($cfg{generated}));