git-1.5-gitweb-home-link.patch 558 B

123456789101112
  1. --- git-1.5.0.6/gitweb/gitweb.perl~ 2007-03-30 01:37:05.000000000 +0100
  2. +++ git-1.5.0.6/gitweb/gitweb.perl 2007-05-07 08:31:37.000000000 +0100
  3. @@ -39,7 +39,7 @@ our $projectroot = "++GITWEB_PROJECTROOT
  4. our $home_link = $my_uri || "/";
  5. # string of the home link on top of all pages
  6. -our $home_link_str = "++GITWEB_HOME_LINK_STR++";
  7. +our $home_link_str = $ENV{'SERVER_NAME'} ? "git://" . $ENV{'SERVER_NAME'} : "projects";
  8. # name of your site or organization to appear in page titles
  9. # replace this with something more descriptive for clearer bookmarks