Re: [RFC/PATCHv3 4/5] gitweb: Starting work on a man page for /etc/gitweb.conf (WIP)
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 8, 2011, 16:40 UTC
- Message-ID
- <201106081840.17253.jnareb@gmail.com>
- In-Reply-To
- <20110606222500.GE30588@elie>
Jonathan Nieder wrote:
Show 14 quoted lines
> 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