All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
Signed-off-by: martin f. krafft <madduck@madduck.net>
-$subdir = "madduck/pub";
+$vhostdir = "madduck";
+$pubdir = "pub";
$confroot = "/srv/git/gitweb/git.madduck.net";
$confroot = "/srv/git/gitweb/git.madduck.net";
-$projectroot = "/srv/git/repos/$subdir";
+$projectroot = "/srv/git/repos/$vhostdir/$pubdir";
$git_temp = "/tmp";
$site_header = "$confroot/header.html";
$site_footer = "$confroot/footer.html";
$projects_list = $projectroot;
$default_projects_order = "project";
$git_temp = "/tmp";
$site_header = "$confroot/header.html";
$site_footer = "$confroot/footer.html";
$projects_list = $projectroot;
$default_projects_order = "project";
-@git_base_url_list=("git://git.madduck.net/$subdir", "ssh://git@git.madduck.net/$subdir");
+@git_base_url_list=("git://git.madduck.net/$vhostdir/$pubdir", "ssh://git@git.madduck.net/$vhostdir/$pubdir", "madduck:$pubdir");
$logo = '/git-logo.png';
$favicon = '/git-favicon.png';
push @stylesheets, '/gitweb.css';
$logo = '/git-logo.png';
$favicon = '/git-favicon.png';
push @stylesheets, '/gitweb.css';
$export_auth_hook = sub {
# open FILE, ">>/tmp/gitweb.auth" or die $!;
$export_auth_hook = sub {
# open FILE, ">>/tmp/gitweb.auth" or die $!;
- my $reponame = "$subdir/" . shift;
+ my $reponame = "$vhostdir/$pubdir/" . shift;
# gitweb passes us the full repo path; so we strip the beginning...
$reponame =~ s/\Q$projectroot\E\/?//;
# ...and the end, to get the repo name as it is specified in gitolite conf
# gitweb passes us the full repo path; so we strip the beginning...
$reponame =~ s/\Q$projectroot\E\/?//;
# ...and the end, to get the repo name as it is specified in gitolite conf