Merge branch 'maint'
* maint: Update draft release notes to 1.7.9.2 gitweb: Fix 'grep' search for multiple matches in file
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user