Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > ccc2863c29e5d9a0cda190c39c29257d > files > 1

git-1.7.3.4-1.fc13.src.rpm

diff -up git-1.7.2/gitweb/gitweb.perl.orig git-1.7.2/gitweb/gitweb.perl
--- git-1.7.2/gitweb/gitweb.perl.orig	2010-07-21 23:35:25.000000000 +0200
+++ git-1.7.2/gitweb/gitweb.perl	2010-07-22 10:49:50.385707086 +0200
@@ -79,7 +79,7 @@ our $projectroot = "++GITWEB_PROJECTROOT
 our $project_maxdepth = "++GITWEB_PROJECT_MAXDEPTH++";
 
 # string of the home link on top of all pages
-our $home_link_str = "++GITWEB_HOME_LINK_STR++";
+our $home_link_str = $ENV{'SERVER_NAME'} ? "git://" . $ENV{'SERVER_NAME'} : "projects";
 
 # name of your site or organization to appear in page titles
 # replace this with something more descriptive for clearer bookmarks