summaryrefslogtreecommitdiffstats
path: root/git-1.5-gitweb-home-link.patch
diff options
context:
space:
mode:
Diffstat (limited to 'git-1.5-gitweb-home-link.patch')
-rw-r--r--git-1.5-gitweb-home-link.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/git-1.5-gitweb-home-link.patch b/git-1.5-gitweb-home-link.patch
new file mode 100644
index 0000000..cd36563
--- /dev/null
+++ b/git-1.5-gitweb-home-link.patch
@@ -0,0 +1,11 @@
+--- git-1.5.0.6/gitweb/gitweb.perl~ 2007-03-30 01:37:05.000000000 +0100
++++ git-1.5.0.6/gitweb/gitweb.perl 2007-05-07 08:31:37.000000000 +0100
+@@ -39,7 +39,7 @@ our $projectroot = "++GITWEB_PROJECTROOT
+ our $home_link = $my_uri || "/";
+
+ # 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