diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-04-09 00:44:48 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-04-09 00:44:48 -0700 |
commit | 018465d998a02376ba62e2de3ac707bc98322141 (patch) | |
tree | abac78775aa4fa54a892da0ce3930ae1196da5f2 /gitweb/INSTALL | |
parent | Merge branch 'mk/unpack-careful' (diff) | |
parent | gitweb: fallback to system-wide config file (fixup) (diff) | |
download | tgif-018465d998a02376ba62e2de3ac707bc98322141.tar.xz |
Merge branch 'gp/gitweb'
* gp/gitweb:
gitweb: fallback to system-wide config file (fixup)
gitweb: fallback to system-wide config file if default config does not exist
Diffstat (limited to 'gitweb/INSTALL')
-rw-r--r-- | gitweb/INSTALL | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gitweb/INSTALL b/gitweb/INSTALL index 9cd5b0a2b1..743f2d4442 100644 --- a/gitweb/INSTALL +++ b/gitweb/INSTALL @@ -95,7 +95,11 @@ for gitweb (in gitweb/README). by default it is file named gitweb_config.perl in the same place as gitweb.cgi script. You can control default place for config file using GITWEB_CONFIG build configuration variable, and you can set it - using GITWEB_CONFIG environmental variable. + using GITWEB_CONFIG environmental variable. If this file does not + exist, gitweb looks for a system-wide configuration file, normally + /etc/gitweb.conf. You can change the default using the + GITWEB_CONFIG_SYSTEM build configuration variable, and override it + through GITWEB_CONFIG_SYSTEM environmental variable. - Gitweb config file is [fragment] of perl code. You can set variables using "our $variable = value"; text from "#" character until the end |