diff options
author | Martin Waitz <tali@admingilde.org> | 2006-08-17 00:28:39 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-17 03:04:46 -0700 |
commit | 6132b7e4bbdbca14aff72d87784909810edefb82 (patch) | |
tree | 559c6b003ad35e1db0d8bba793dcd7c067fb581b /commit.c | |
parent | 5c95fab017681f6ab21bf82c195bf0a3826fe014 (diff) | |
download | git-6132b7e4bbdbca14aff72d87784909810edefb82.tar.gz |
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 <tali@admingilde.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions