From: Junio C Hamano Date: Mon, 25 Aug 2008 19:48:09 GMT Subject: Re: [PATCH v5] gitweb: ref markers link to named shortlogs Message-ID: <7vzln0g9l2.fsf@gitster.siamese.dyndns.org> In-Reply-To: <200808252042.29171.jnareb@gmail.com> Jakub Narebski writes: > On Mon, 25 Aug 2008, Junio C Hamano wrote: >> Jakub Narebski writes: >> >> > + $markers .= " " . >> > + $cgi->a({-href => href(action=>( $indirect ? "tag" : "shortlog"), >> > + hash=>"refs/$ref")}, $name) . >> > + ""; >> > >> > or equivalent (not stripping "refs/" in git_get_references). >> >> If you mean by "hash => $it", I think it is only used as the URL the >> anchor points at, and it is much more preferable to use the canonical >> form. "...?h=refs/heads/master" and "...h=heads/master" might produce the >> same output, but then it is better for smart caching layer if you always >> used canonical form, isn't it? > > Will you do the change, or do you need resend from Giuseppe? > > I like the feature that this patch introduces, and this time I don't > have any reservations to the code. So, FWIW, Ack from me. I could do it, but my preference is for somebody I trust to resend with appropriate Ack lines so that I can just run "git am" on the message without editing.