git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 3/3] Move $gitbin earlier in gitweb.cgi

From
Jakub Narebski <jnareb@gmail.com>
Date
Jun 21, 2006, 09:25 UTC
Message-ID
<1150881955533-git-send-email-jnareb@gmail.com>
In-Reply-To
<1150881955505-git-send-email-jnareb@gmail.com>
(cherry picked from 9dca843086356b964f27d8fabe1e3c48074a9f02 commit)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
---
Cherry picked commit is from feature branch in my repository:
  http://front.fuw.edu.pl/cgi-bin/jnareb/gitweb.cgi?p=git.git;a=summary
  http://front.fuw.edu.pl/jnareb/scm/git.git/
 gitweb/gitweb.cgi |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
f8bd1032e0d6ec88f540a820b4f5b4789562ee05
diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi
index 87ec565..ef7fcbd 100755
--- a/gitweb/gitweb.cgi
+++ b/gitweb/gitweb.cgi
@@ -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 (.*)$/) {
-- 
1.3.0
Previous: Jakub Narebski
Message 4 of 4 in “Minor gitweb modifications and cleanups”
  1. 0/3 Minor gitweb modifications and cleanupsJakub Narebski, Jun 21, 2006
  2. 1/3 gitweb: whitespace cleanupJakub Narebski, Jun 21, 2006
  3. 2/3 Add git version to gitweb outputJakub Narebski, Jun 21, 2006
  4. 3/3 Move $gitbin earlier in gitweb.cgiJakub Narebski, Jun 21, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.