Thread (42 messages) 42 messages, 3 authors, 2016-06-15

Re: [PATCH 3/7] gitweb: separate heads and remotes lists

From: Ævar Arnfjörð Bjarmason <hidden>
Date: 2016-06-15 22:49:33

On Thu, Sep 16, 2010 at 09:31, Giuseppe Bilotta
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
+       if (@remotelist) {
+               git_print_header_div('remotes');
+               git_heads_body(\@remotelist, $head, 0, 15,
+                              $#remotelist <= 15 ? undef :
+                              $cgi->a({-href => href(action=>"remotes")}, "..."));
+       }
Nit: The $# syntax is pseudo-deprecated, and since you use 16 as a
constant above this would be clearer anyway:

    @remotelist <= 16 ? undef : ...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help