From: Junio C Hamano <junkio@cox.net>
To: Alp Toker <alp@atoker.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] gitweb: Use the git binary in the search path by default
Date: Tue, 11 Jul 2006 12:56:24 -0700 [thread overview]
Message-ID: <7vzmff3ogn.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <11526131791902-git-send-email-alp@atoker.com> (Alp Toker's message of "Tue, 11 Jul 2006 11:19:36 +0100")
Alp Toker <alp@atoker.com> writes:
> Introduce a sensible default for the location of the git binary used by
> gitweb. This means one less option to configure when deploying gitweb if
> git is in the search path.
While I think the part of the change to make things go through
the single "git" wrapper is a good idea, the comment to "our
$GIT" that says "absolute path is optional" makes this change
more like "assume PATH your webserver process uses is sensible",
not "introduce a sensible default".
So I would prefer to do that part like this:
-# location of the git-core binaries
-our $gitbin = "/usr/bin";
+# core git wrapper -- if your webserver runs with a sensible PATH
+# you can just say "git" without using absolute pathname here.
+our $GIT = "/usr/bin/git";
next prev parent reply other threads:[~2006-07-11 19:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-11 10:19 [PATCH] Typo fix Alp Toker
2006-07-11 10:19 ` [PATCH] gitweb: Send XHTML as 'application/xhtml+xml' where possible Alp Toker
2006-07-11 10:19 ` [PATCH] gitweb: Include a site name in page titles Alp Toker
2006-07-11 10:19 ` [PATCH] gitweb: Use the git binary in the search path by default Alp Toker
2006-07-11 10:19 ` [PATCH] git-send-email: Remove redundant Reply-To header Alp Toker
2006-07-11 10:19 ` [PATCH] Install built-ins as symlinks Alp Toker
2006-07-11 11:15 ` Andreas Ericsson
2006-07-11 14:16 ` Johannes Schindelin
2006-07-11 14:58 ` Alp Toker
2006-07-11 18:02 ` Johannes Schindelin
2006-07-11 18:48 ` Petr Baudis
2006-07-12 0:01 ` Alex Riesen
2006-07-11 18:36 ` Petr Baudis
2006-07-11 19:56 ` Junio C Hamano [this message]
2006-07-11 11:48 ` [PATCH] gitweb: Include a site name in page titles Martin Langhoff
2006-07-11 19:48 ` Junio C Hamano
2006-07-11 22:37 ` [PATCH] Typo fix Pavel Roskin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vzmff3ogn.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=alp@atoker.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).