summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2020-07-02 20:58:14 -0700
committerdormando <dormando@rydia.net>2020-08-29 17:27:50 -0700
commitad8dfd265523e027b042aec59055409a22668c64 (patch)
tree218fc8ea267578ff40ff02bf66c0b75da5975ae5
parent9f2d28e429a9ba522a8f7d0b4cb21dffc19af476 (diff)
downloadmemcached-1.6.7.tar.gz
exclude vendor/ source dir from whitespace checker.1.6.7
-rwxr-xr-xt/whitespace.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/whitespace.t b/t/whitespace.t
index fb6b02d..9915182 100755
--- a/t/whitespace.t
+++ b/t/whitespace.t
@@ -22,7 +22,7 @@ BEGIN {
my %exempted_hash = map { $_ => 1 } @exempted;
my @stuff = split /\0/, `git ls-files -z -c -m -o --exclude-standard`;
- @files = grep { ! $exempted_hash{$_} } @stuff;
+ @files = grep { ! $exempted_hash{$_} && $_ !~ m/^vendor/ } @stuff;
# We won't find any files if git isn't installed. If git isn't
# installed, they're probably not doing any useful development, or