]> Lady’s Gitweb - Gitweb/commit
gitweb: Make config_to_multi return [] instead of [undef]
authorPetr Baudis <redacted>
Sat, 8 Dec 2007 11:30:59 +0000 (12:30 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:12 +0000 (00:07 -0400)
commitf4846479c08158cd8abbea222ced6449d9ed25fc0b7964988eded94b9f9775f4
tree8b2104a9d9f7d702eff0e77d04ce70a7308bce77ea6efa882b3bd844fb861aeb
parentaa3f2d6cd87c65fdcb6833f217a3e034d686c3f5b261d16c01623a6149c93937
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 <redacted>
Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.192937 seconds and 4 git commands to generate.