File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ sub filter_filenames {
122
122
if ($filename =~ m /$regex / ) {
123
123
$res = 1;
124
124
print " $filename is ignored per regex: " . $regex . " \n " if $debug && !$quiet ;
125
+ last ;
125
126
}
126
127
}
127
128
@@ -139,6 +140,7 @@ sub filter_regex {
139
140
if ($text1 =~ m /$regex / && $text2 =~ m /$regex / ) {
140
141
$res = 1;
141
142
print " $text1 is ignored per regex: " . $regex . " \n " if $debug && !$quiet ;
143
+ last ;
142
144
}
143
145
}
144
146
@@ -251,11 +253,10 @@ sub diff_files_complete {
251
253
|| (defined $ln_1_1 && !defined $ln_1_2
252
254
&& defined $ln_2_1 && !defined $ln_2_2 )) {
253
255
254
- if ($ignore_footer ) {
255
- if ($ln_1_1 >= $footer_line ) {
256
- $skip = 1;
257
- last ;
258
- }
256
+ if ($ignore_footer
257
+ && ($ln_1_1 >= $footer_line )) {
258
+ $skip = 1;
259
+ last ;
259
260
260
261
} elsif ((!defined $ln_1_2
261
262
&& $$generated_by_lines {$ln_1_1 })
You can’t perform that action at this time.
0 commit comments