Perhaps an obvious cut and paste error.

Subsystems: the rest

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Perhaps an obvious cut and paste error.

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:35

diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi
index 4e79390..a4a46d9 100755
--- a/gitweb/gitweb.cgi
+++ b/gitweb/gitweb.cgi
@@ -1441,7 +1434,7 @@ sub git_summary {
 	my $headlist = git_read_refs("refs/heads");
 	if (defined @$headlist) {
 		git_header_div('heads');
-		git_heads_body($taglist, $head, 0, 15,
+		git_heads_body($headlist, $head, 0, 15,
 		               $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=heads")}, "..."));
 	}
 

Re: Perhaps an obvious cut and paste error.

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:42:35

Junio C Hamano wrote:
quoted hunk
diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi
index 4e79390..a4a46d9 100755
--- a/gitweb/gitweb.cgi
+++ b/gitweb/gitweb.cgi
@@ -1441,7 +1434,7 @@ sub git_summary {
      my $headlist = git_read_refs("refs/heads");
      if (defined @$headlist) {
              git_header_div('heads');
-             git_heads_body($taglist, $head, 0, 15,
+             git_heads_body($headlist, $head, 0, 15,
                             $cgi->a({-href => "$my_uri?" . esc_param("p=$project;a=heads")}, "..."));
      }
 
Yes, of course. ACK.

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help