]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Add missing show '...' links change.
authorRobert Fitzsimons <redacted>
Fri, 22 Dec 2006 19:38:12 +0000 (19:38 +0000)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
Part of the patch for "gitweb: Show '...' links in "summary" view only
if there are more items" (313ce8cee665447e4476d7e8985b270346a8e5a1) is
missing.  Add it back in.

Signed-off-by: Robert Fitzsimons <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index d58d4013d6fceb6fa86d0377cf7905b451993ec4785db4208a6c5c77443a9021..253cfe8defaa6f6c86a7cea4e8def2d5aa688ce17123104a08bb7592a97e9fcf 100755 (executable)
@@ -2984,6 +2984,7 @@ sub git_summary {
        if (@forklist) {
                git_print_header_div('forks');
                git_project_list_body(\@forklist, undef, 0, 15,
+                                     $#forklist <= 15 ? undef :
                                      $cgi->a({-href => href(action=>"forks")}, "..."),
                                      'noheader');
        }
This page took 0.304141 seconds and 4 git commands to generate.