From: Petr Baudis Date: Mon, 23 Oct 2006 23:21:17 GMT Subject: Re: [PATCH 2/1] gitweb: Use fixed string for "next" link in commitdiff view Message-ID: <20061023232117.GV20017@pasky.or.cz> In-Reply-To: <200610240008.08325.jnareb@gmail.com> Dear diary, on Tue, Oct 24, 2006 at 12:08:08AM CEST, I got a letter where Jakub Narebski said that... > @@ -3307,19 +3303,19 @@ sub git_commitdiff { > } elsif (scalar @{$co{'parents'}} == 1) { > # single parent commit > $formats_nav .= > - ' (parent: ' . > + ' (' . > $cgi->a({-href => href(action=>"commitdiff", > hash=>$co{'parent'})}, > - esc_html(substr($co{'parent'}, 0, 7))) . > + 'parent') . > ')'; > } else { > # merge commit > $formats_nav .= > - ' (merge: ' . > + ' (' . > join(' ', map { > $cgi->a({-href => href(action=>"commitdiff", > hash=>$_)}, > - esc_html(substr($_, 0, 7))); > + 'parent'); > } @{$co{'parents'}} ) . > ')'; > } For people not used to git, it would be more informative to keep the 'merge' text there. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ #!/bin/perl -sp0777i