From 8715e9692b374e93d822c878db198ae7ae3d520f Mon Sep 17 00:00:00 2001 From: dormando Date: Sun, 3 Jul 2022 18:08:32 -0700 Subject: tests: skip whitespace on vendor/* --- devtools/clean-whitespace.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'devtools') 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"; -- cgit v1.2.1