summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2022-07-03 18:08:32 -0700
committerdormando <dormando@rydia.net>2022-07-03 18:08:32 -0700
commit8715e9692b374e93d822c878db198ae7ae3d520f (patch)
tree64cf5f32f9dc63d10894cba0ee924f81afb69c7a /devtools
parent69e732ab6f9da866867a355fd88ebfa453531344 (diff)
downloadmemcached-8715e9692b374e93d822c878db198ae7ae3d520f.tar.gz
tests: skip whitespace on vendor/*
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/clean-whitespace.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/clean-whitespace.pl b/devtools/clean-whitespace.pl
index 154ce37..0c729ca 100755
--- a/devtools/clean-whitespace.pl
+++ b/devtools/clean-whitespace.pl
@@ -11,7 +11,7 @@ push(@exempted, glob("m4/*backport*m4"));
my %exempted_hash = map { $_ => 1 } @exempted;
my @stuff = split /\0/, `git ls-files -z -c -m -o --exclude-standard`;
-my @files = grep { ! $exempted_hash{$_} } @stuff;
+my @files = grep { ! $exempted_hash{$_} && $_ !~ m/^vendor\// } @stuff;
unless (@files) {
warn "ERROR: You don't seem to be running this from a git checkout\n";