]> Lady’s Gitweb - Gitweb/commit
gitweb: ref markers link to named shortlogs
authorGiuseppe Bilotta <redacted>
Tue, 2 Sep 2008 19:47:05 +0000 (21:47 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:33 +0000 (00:07 -0400)
commita212a9ed1c391e6c83a6b1326bf7376beea4d8eec667589aecb564e3c57eaba0
tree57bf781028ead1be47896475776c3dfa829079ef4dddef410ba1dad11c4961cd
parentd5a7aa5c1901fd01ac7ba11afda11ed9014fb7f14dae85cc9853e63a2383a065
gitweb: ref markers link to named shortlogs

This patch turns ref markers for tags and heads into links to
appropriate views for the ref name, depending on current context.

For annotated tags, we link to the tag view, unless that's the current
view, in which case we switch to shortlog. For other refs, we prefer the
current view if it's history or (short)log, and default to shortlog
otherwise.

Appropriate changes are made in the CSS to prevent ref markers from
being annoyingly blue and underlined, unless hovered. A visual
indication of the target view difference is also implemented by making
annotated tags show up in italic.

Signed-off-by: Giuseppe Bilotta <redacted>
Acked-by: Petr Baudis <redacted>
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.css
gitweb.perl
This page took 0.266067 seconds and 4 git commands to generate.