Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH v5] gitweb: ref markers link to named shortlogs

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:13

Possibly related (same subject, not in this thread)

Jakub Narebski [off-list ref] writes:
+                     $markers .= " <span class=\"$class\" title=\"$ref\">" .
+                             $cgi->a({-href => href(action=>( $indirect ? "tag" : "shortlog"),
+                                                    hash=>"refs/$ref")}, $name) .
+                             "</span>";

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?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help