X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/812f2576c28b74492d5cf61b37865aa35af0461c0fefecc0718d256aa2463722..e5db19433e39da4191988e5db45f8984f6f00144f3b16109d5536f71da776ef3:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index 8936b0e..f3d8ad8 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -1126,7 +1126,7 @@ sub run { run_request(); - $pre_dispatch_hook->() + $post_dispatch_hook->() if $post_dispatch_hook; last REQUEST if ($is_last_request->()); @@ -6522,12 +6522,13 @@ sub git_search { $paging_nav .= " ⋅ next"; } - if ($#commitlist >= 100) { - } - git_print_page_nav('','', $hash,$co{'tree'},$hash, $paging_nav); git_print_header_div('commit', esc_html($co{'title'}), $hash); - git_search_grep_body(\@commitlist, 0, 99, $next_link); + if ($page == 0 && !@commitlist) { + print "

No match.

\n"; + } else { + git_search_grep_body(\@commitlist, 0, 99, $next_link); + } } if ($searchtype eq 'pickaxe') {