From: Petr Baudis Date: Tue, 02 Sep 2008 21:15:50 GMT Subject: Re: [PATCH v7, resend] gitweb: ref markers link to named shortlogs Message-ID: <20080902211550.GR10360@machine.or.cz> In-Reply-To: <1220384825-19824-1-git-send-email-giuseppe.bilotta@gmail.com> On Tue, Sep 02, 2008 at 09:47:05PM +0200, Giuseppe Bilotta wrote: > 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 Acked-by: Petr Baudis