On Tue, Aug 26, 2008 at 1:49 PM, Jakub Narebski <jnareb@xxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html