From: Petr Baudis Date: Sat, 15 Dec 2007 15:05:01 GMT Subject: Re: [PATCH] gitweb: Make config_to_multi return [] instead of [undef] Message-ID: <20071215150501.GM10769@machine.or.cz> In-Reply-To: <200712151536.33296.jnareb@gmail.com> On Sat, Dec 15, 2007 at 03:36:32PM +0100, Jakub Narebski wrote: > From: Petr Baudis > Date: Sat, 8 Dec 2007 12:30:59 +0100 > Subject: [PATCH] gitweb: Make config_to_multi return [] instead of [undef] > > This is important for the list of clone urls, where if there are > no per-repository clone URL configured, the default base URLs > are never used for URL construction without this patch. > > Add tests for different ways of setting project URLs, just in case. > Note that those tests in current form wouldn't detect breakage fixed > by this patch, as it only checks for errors and not for expected > output. > > Signed-off-by: Petr Baudis > Signed-off-by: Jakub Narebski Acked-by: Petr Baudis Thank you all for catching the defined($val). :-) -- Petr "Pasky" Baudis We don't know who it was that discovered water, but we're pretty sure that it wasn't a fish. -- Marshall McLuhan