diff options
Diffstat (limited to 'gitweb/gitweb.perl')
| -rwxr-xr-x | gitweb/gitweb.perl | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 3fc7380a5e..16d376075e 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -5915,9 +5915,10 @@ sub git_search_files {  	my $alternate = 1;  	my $matches = 0;  	my $lastfile = ''; +	my $file_href;  	while (my $line = <$fd>) {  		chomp $line; -		my ($file, $file_href, $lno, $ltext, $binary); +		my ($file, $lno, $ltext, $binary);  		last if ($matches++ > 1000);  		if ($line =~ /^Binary file (.+) matches$/) {  			$file = $1; | 
