From: Giuseppe Bilotta Date: Wed, 27 Aug 2008 18:36:30 GMT Subject: Re: [PATCH] gitweb: ref markers link to named shortlogs Message-ID: In-Reply-To: <200808261349.28771.jnareb@gmail.com> On Tue, Aug 26, 2008 at 1:49 PM, Jakub Narebski wrote: > On Tue, 26 Aug 2008 12:58, Giuseppe Bilotta wrote: >> 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