Blame SOURCES/git-1.5-gitweb-home-link.patch

3de368
diff -up git-1.7.2/gitweb/gitweb.perl.orig git-1.7.2/gitweb/gitweb.perl
3de368
--- git-1.7.2/gitweb/gitweb.perl.orig	2010-07-21 23:35:25.000000000 +0200
3de368
+++ git-1.7.2/gitweb/gitweb.perl	2010-07-22 10:49:50.385707086 +0200
3de368
@@ -83,7 +83,7 @@ our $projectroot = "++GITWEB_PROJECTROOT
3de368
 our $project_maxdepth = "++GITWEB_PROJECT_MAXDEPTH++";
3de368
 
3de368
 # string of the home link on top of all pages
3de368
-our $home_link_str = "++GITWEB_HOME_LINK_STR++";
3de368
+our $home_link_str = $ENV{'SERVER_NAME'} ? "git://" . $ENV{'SERVER_NAME'} : "projects";
3de368
 
3de368
 # extra breadcrumbs preceding the home link
3de368
 our @extra_breadcrumbs = ();