[Codestriker-commits] CVS update: codestriker/lib/Codestriker/FileParser Parser.pm
Brought to you by:
sits
|
From: <si...@us...> - 2004-11-03 22:37:51
|
Created Codestriker topic at: http://codestriker.sourceforge.net/cgi-bin/codestriker.pl?topic=4501313&action=view&brmode=1&fview=-1 User: sits Date: 04/11/03 14:37:36 Modified: lib/Codestriker/FileParser Parser.pm Log: Handle exclusions for unmatched cvs diffs, from Dave Clendenan Index: Parser.pm =================================================================== RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/FileParser/Parser.pm,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- Parser.pm 2 Nov 2004 21:04:19 -0000 1.14 +++ Parser.pm 3 Nov 2004 22:37:34 -0000 1.15 @@ -166,7 +166,7 @@ my @trimmed_diffs = (); foreach my $curr (@diffs) { - if ($curr->{filename} =~ /\.(\w+)$/o) { + if ($curr->{filename} =~ /\.(\w+)(,v)?$/o) { push @trimmed_diffs, $curr unless grep(/^$1$/, @Codestriker::exclude_file_types); } |