X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gitweb%2Fgitweb.perl;fp=gitweb%2Fgitweb.perl;h=16d376075ea8bb47271aaeffebacf56fd41e713b;hb=2c8fb23ac73cf1e17245cb58ec429c0b209ab19e;hp=3fc7380a5ea510b705eb49542c3e698b0dddb02c;hpb=b0d66b5110faaeb395610ba43b6eb70a18ab5e25;p=git.git diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 3fc7380a5..16d376075 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;