]> Lady’s Gitweb - Gitweb/commit
gitweb: Check git base URLs before generating URL from it
authorJakub Narebski <redacted>
Thu, 26 Oct 2006 10:26:44 +0000 (12:26 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commitc9996d4b02eb94decb55521f05da1ee48011a3a8ad5b467917314545b38c083c
treedce9b277867ff39b6124a6bc8fef2dbd8e71b0ea35793c0d0cab12a32243845b
parentf788ced94fa628a3b48bee2f65f1d172ec13ba2b210d4ca87ce85ac00e6c05b1
gitweb: Check git base URLs before generating URL from it

Check if each of git base URLs in @git_base_url_list is true before
appending "/$project" to it to generate project URL.

This fixes the error that for default configuration for gitweb in
Makefile, with GITWEB_BASE_URL empty (and "++GITWEB_BASE_URL++" being
"" in gitweb.cgi), we had URL of "/$project" in the summary view.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.219565 seconds and 4 git commands to generate.