]> Lady’s Gitweb - Gitweb/commitdiff
Move $gitbin earlier in gitweb.cgi
authorJakub Narebski <redacted>
Wed, 21 Jun 2006 07:48:04 +0000 (09:48 +0200)
committerLady <redacted>
Sat, 4 Apr 2026 18:43:37 +0000 (14:43 -0400)
(cherry picked from 9dca843086356b964f27d8fabe1e3c48074a9f02 commit)

Signed-off-by: Jakub Narebski <jnareb.com>
Signed-off-by: Junio C Hamano <redacted>
gitweb.cgi

index dbafb5d184aba3c6f5384131f15ba048c2aba79510f6ebb9d7290d028b82605a..f468a5be7bee5f540bccb9c6dc4f7a823cdff80acbb8650db7612d7721b6fc1b 100755 (executable)
@@ -22,13 +22,13 @@ my $my_url = $cgi->url();
 my $my_uri = $cgi->url(-absolute => 1);
 my $rss_link = "";
 
+# location of the git-core binaries
+my $gitbin = "/usr/bin";
+
 # absolute fs-path which will be prepended to the project path
 #my $projectroot = "/pub/scm";
 my $projectroot = "/home/kay/public_html/pub/scm";
 
-# location of the git-core binaries
-my $gitbin = "/usr/bin";
-
 # version of the git-core binaries
 my $git_version = qx($gitbin/git --version);
 if ($git_version =~ m/git version (.*)$/) {
This page took 0.219217 seconds and 4 git commands to generate.