You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jo...@apache.org on 2014/03/25 23:05:50 UTC

svn commit: r1581557 - /thrift/cms-site/trunk/lib/view.pm

Author: joes
Date: Tue Mar 25 22:05:50 2014
New Revision: 1581557

URL: http://svn.apache.org/r1581557
Log:
trial and error

Modified:
    thrift/cms-site/trunk/lib/view.pm

Modified: thrift/cms-site/trunk/lib/view.pm
URL: http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/view.pm?rev=1581557&r1=1581556&r2=1581557&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/view.pm (original)
+++ thrift/cms-site/trunk/lib/view.pm Tue Mar 25 22:05:50 2014
@@ -6,7 +6,7 @@ use ASF::Util qw/read_text_file parse_fi
 use strict;
 use warnings;
 
-# for the speed freak in you- short-circuit view generation with a simple read_text_file
+# for the speed freak in you- short-circuit view generation for deps with a simple read_text_file
 
 sub fetch_deps {
     my ($path, $data) = @_;
@@ -19,6 +19,7 @@ sub fetch_deps {
             next unless $_ =~ $re;
             $data->{$file} = { path => $file, %$args };
             read_text_file "content$_", $data->{$file};
+            last;
         }
         $data->{$file}->{headers}->{title} //= ucfirst $filename;
     }