Re: [PATCH] gitweb: Check git base URLs before generating URL from it
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Oct 26, 2006, 17:39 UTC
- Message-ID
- <ehqrqm$co1$1@sea.gmane.org>
- In-Reply-To
- <7vr6wvkn66.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
> Wouldn't this be simpler and more to the point, I wonder?
> -our @git_base_url_list = ("++GITWEB_BASE_URL++");
> +our @git_base_url_list = grep { $_ ne '' } ("++GITWEB_BASE_URL++");Yes, that would be cartainly better.
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git