diff options
author | dormando <dormando@rydia.net> | 2020-07-02 20:58:14 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-08-29 17:27:50 -0700 |
commit | ad8dfd265523e027b042aec59055409a22668c64 (patch) | |
tree | 218fc8ea267578ff40ff02bf66c0b75da5975ae5 | |
parent | 9f2d28e429a9ba522a8f7d0b4cb21dffc19af476 (diff) | |
download | memcached-1.6.7.tar.gz |
exclude vendor/ source dir from whitespace checker.1.6.7
-rwxr-xr-x | t/whitespace.t | 2 |
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 |