diff options
-rwxr-xr-x | git-hooks/sanitize-commit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/sanitize-commit b/git-hooks/sanitize-commit index 3a60076..ebe620f 100755 --- a/git-hooks/sanitize-commit +++ b/git-hooks/sanitize-commit @@ -699,7 +699,7 @@ while (<DIFF>) { complain("Adding backup file", "backup") if ($new_file && !defined($cfg{backup})); $ws_check = 0; } elsif ($file =~ m,^tests/.*/(test)?data/,) { - $ws_check = 0; + $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})); $ws_check = 0; |