Re: [PATCH] gitweb: ref markers link to named shortlogs
- From
- Lea Wiemann <lewiemann@gmail.com>
- Date
- Aug 24, 2008, 19:30 UTC
- Message-ID
- <48B1B6F2.5050301@gmail.com>
- In-Reply-To
- <1219341860-4913-1-git-send-email-giuseppe.bilotta@gmail.com>
Giuseppe Bilotta wrote:
> + my $git_type = git_get_type($ref);
> [...]
> + $cgi->a({-href => href(action=>$view{$git_type} || $git_type, hash=>$name)}, $name) .Since some of this thread seems to be about performance, you might just make this a link to action => 'object' (and save the git_get_type call) and let gitweb Do The Right Thing when the link is followed.
[Disclaimer: Haven't read the whole thread, and haven't checked if action=object is actually doing the right thing here.]
-- Lea