Subject: Re: [RFC/PATCHv3 4/5] gitweb: Starting work on a man page for /etc/gitweb.conf (WIP)

From: Jakub Narebski <[email-masked]>
Date: Wed, 8 Jun 2011 18:40:16 +0200

Jonathan Nieder wrote:
> Jonathan Nieder wrote:
>> Jakub Narebski wrote:
> 
>>> +$GIT::
>>> +	Core git executable to use.  By default set to `$GIT_BINDIR/git`, which
> [...]
>> I think a better default would be "git", so if a newer git gets
>> installed in /usr/local/bin then gitweb would notice automatically.
> 
> Wait, that's quite wrong.  What I was forgetting about is the case
> where the webmaster does not control the web hosting but just has a
> place to drop CGI scripts under ~/public_html/cgi-bin.  In such a case
> it would be very convenient that "make install-gitweb" just does the
> right thing (including using a private copy of git).

Right, "git" might not be in PATH of a web server (which can have
reduced PATH for security reasons anyway).

-- 
Jakub Narebski
Poland