From: Giuseppe Bilotta Date: Mon, 27 Sep 2010 07:29:36 GMT Subject: Re: [PATCHv5 10/12] gitweb: git_repo_url() routine Message-ID: In-Reply-To: <201009270034.29603.jnareb@gmail.com> 2010/9/27 Jakub Narebski : > On Fri, 24 Sep 2010, Giuseppe Bilotta wrote: > >> The routine creates a table row with a name and a repository address, >> like the one used at the top of summary view. > [...] > >> +sub git_repo_url { >> +     my ($name, $url) = @_; >> +     return "$name$url\n"; >> +} > > It should be  *format_repo_url*, and not git_repo_url, isn't it? Right. > By the way, doesn't gitweb include code dealing with repository URL; > why you don't _use_ this subroutine, then? The only code for the display of a repo URL is inlined into summary view, which in the next patch uses this function to do the display. I can probably squash them together. -- Giuseppe "Oblomov" Bilotta