]> Lady’s Gitweb - Gitweb/commit
gitweb: support for / as home_link.
authorMartin Waitz <redacted>
Wed, 16 Aug 2006 22:28:39 +0000 (00:28 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
commit42fcf7c089492207a1e5e4099abf3ca5745b20d2317b67d615979c5ad37c7090
treec73b35a23458556e3c5bffd628fa21cbb7bdef1e5c9d794504204a8dc99b8c48
parent44fc0a5222b9fb27c7e196c1f3e17e0de6bfdb19987bc8a9618ad4bd6e712073
gitweb: support for / as home_link.

If the webserver is configured to use gitweb even for the root directory
of the site, then my_uri is empty which leads to a non-functional home
link.  Fix that by defaulting to "/" in this case.

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