diff options
author | Florian Ragwitz <rafl@debian.org> | 2011-07-12 23:20:12 +0200 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2011-07-12 23:20:12 +0200 |
commit | e54eb2b67dada4824b911469c3e313129a057c7c (patch) | |
tree | 204c7968db065a9de0f0424fb9203d0360678f10 /Porting/cmpVERSION.pl | |
parent | 97616553a9e618d3688ddf6c59f5876efc177376 (diff) | |
download | perl-e54eb2b67dada4824b911469c3e313129a057c7c.tar.gz |
Skip .xs files in t/ dirs when comparing versions
Diffstat (limited to 'Porting/cmpVERSION.pl')
-rwxr-xr-x | Porting/cmpVERSION.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Porting/cmpVERSION.pl b/Porting/cmpVERSION.pl index 5dadcf5639..14023a6f2b 100755 --- a/Porting/cmpVERSION.pl +++ b/Porting/cmpVERSION.pl @@ -124,7 +124,7 @@ foreach (`git --no-pager diff --name-only $tag_to_compare --diff-filter=ACMRTUXB next if exists $upstream_files{$_}; if (/\.pm\z/) { push @{$module_diffs{$_}}, $_; - } elsif (/\.xs\z/) { + } elsif (/\.xs\z/ && !/\bt\b/) { push @{$module_diffs{pm_file_from_xs($_)}}, $_; } } |