Re: [PATCH] gitweb: ref markers link to named shortlogs
From: Giuseppe Bilotta <hidden>
Date: 2016-06-15 22:45:14
On Tue, Aug 26, 2008 at 1:49 PM, Jakub Narebski [off-list ref] wrote:
On Tue, 26 Aug 2008 12:58, Giuseppe Bilotta wrote:quoted
Ah, but the problem is that guessing the action based on the object sometimes depends on the context: for some cases the 'commit' action is the correct one for commits, in other cases shortlog is preferred. This is why I introduced the %views hash in some of my patches.By the way, this is argument *for* selecting action when generating link, if it is possible without incurring unnecessary (if you don't follow the link) performance penalty. For example in the case of ref markers links, you can link to 'log' in log view, 'shortlog' in 'shortlog' view, perhaps even 'history' in 'history' and 'tree'/'blob' views; or just 'shortlog' in all other views (for "commit subject" line heading).
So, I managed to get this feature into the latest version of the refmark patch (v7). Hope it's really the final form 8-) -- Giuseppe "Oblomov" Bilotta