]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
gitweb: fallback to system-wide config file if default config does not exist
authorGerrit Pape <pape@smarden.org>
Wed, 26 Mar 2008 18:11:19 +0000 (18:11 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Mar 2008 20:55:10 +0000 (13:55 -0700)
commit17a8b25005bb09b03bee7ddac5412c7d29675eef
treebba6a061f9066f80d04502261bb8ee95e478ddd3
parent1768905b51601d5d080168059acd24d13b888a2d
gitweb: fallback to system-wide config file if default config does not exist

From a distribution point of view, configuration files for applications
should reside in /etc/.  On the other hand it's convenient for multiple
instances of gitweb (e.g. virtual web servers on a single machine) to have
a per-instance configuration file, just as gitweb currently supports
through the file gitweb_config.perl next to the cgi.

To support both at runtime, this commit introduces GITWEB_CONFIG_SYSTEM as
a system-wide configuration file which will be used as a fallback if the
config file sprecified throug GITWEB_CONFIG does not exist.

See also
 http://bugs.debian.org/450592

Signed-off-by: Gerrit Pape <pape@smarden.org>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
gitweb/INSTALL
gitweb/README
gitweb/gitweb.perl