perforce has multiple "text" file types.
make sure to recognize them all

-Russell Cattelan

Index: codestriker/lib/Codestriker/FileParser/PerforceDescribe.pm
===================================================================
--- codestriker.orig/lib/Codestriker/FileParser/PerforceDescribe.pm	2005-07-24 04:49:48.000000000 -0500
+++ codestriker/lib/Codestriker/FileParser/PerforceDescribe.pm	2007-07-16 16:38:52.000000000 -0500
@@ -122,7 +122,7 @@ sub parse ($$$) {
 	$line = <$fh>;
 	next unless defined $line;
 
-	if ($filetype eq "text") {
+	if ($filetype =~ /\.*text/) {
 	    # Now read the entire diff chunk.
 	    # Note there may be an optional '---' and '+++' lines
 	    # before the chunk.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Codestriker-user mailing list
Codestriker-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/codestriker-user

Reply via email to