Re: [PATCH] gitweb: ref markers link to named shortlogs
- From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- Date
- Aug 27, 2008, 18:36 UTC
- Message-ID
- <cb7bb73a0808271136k4b420a82kd5d058c4662bbb51@mail.gmail.com>
- In-Reply-To
- <200808261349.28771.jnareb@gmail.com>
On Tue, Aug 26, 2008 at 1:49 PM, Jakub Narebski <jnareb@gmail.com> wrote:
Show 13 quoted lines
> 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