rpms/git/EL-5 git-1.5-gitweb-home-link.patch,1.2,1.3
James Bowes (jbowes)
fedora-extras-commits at redhat.com
Thu May 15 12:08:07 UTC 2008
Author: jbowes
Update of /cvs/extras/rpms/git/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31410
Added Files:
git-1.5-gitweb-home-link.patch
Log Message:
restore mistakenly removed patch
git-1.5-gitweb-home-link.patch:
Index: git-1.5-gitweb-home-link.patch
===================================================================
RCS file: git-1.5-gitweb-home-link.patch
diff -N git-1.5-gitweb-home-link.patch
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ git-1.5-gitweb-home-link.patch 15 May 2008 12:07:28 -0000 1.3
@@ -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
More information about the scm-commits
mailing list