summaryrefslogtreecommitdiffstats
path: root/git-1.5-gitweb-home-link.patch
diff options
context:
space:
mode:
authorTodd Zullinger <tmz@pobox.com>2008-03-17 15:39:12 -0400
committerTodd Zullinger <tmz@pobox.com>2008-03-17 15:39:12 -0400
commit5babbf84a3f98003a9443fe04fdc0df64eea97a9 (patch)
treed6ff9cdbaa6d25e5512044cbf174930966c3d902 /git-1.5-gitweb-home-link.patch
downloadgit-package-5babbf84a3f98003a9443fe04fdc0df64eea97a9.tar.gz
git-package-5babbf84a3f98003a9443fe04fdc0df64eea97a9.tar.xz
git-package-5babbf84a3f98003a9443fe04fdc0df64eea97a9.zip
initial import from CVS tag git-1_5_4_4-1_fc9
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