aboutsummaryrefslogtreecommitdiff
path: root/Documentation/gitweb.conf.txt
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2013-04-16 15:26:00 -0700
committerJunio C Hamano <gitster@pobox.com>2013-04-17 15:18:12 -0700
commit1a39b7278712dbdaa27de303c670134e750c345d (patch)
treef73d4406b41ee77cf06753d93356de20fe890873 /Documentation/gitweb.conf.txt
parent0d2f7d1c5ef20a6872ce1eacb054c576bb048057 (diff)
downloadgit-1a39b7278712dbdaa27de303c670134e750c345d.tar.gz
git-1a39b7278712dbdaa27de303c670134e750c345d.tar.xz
gitweb/INSTALL: GITWEB_CONFIG_SYSTEM is for backward compatibility
Highlight that CONFIG_SYSTEM and /etc/gitweb.conf are meant to be the fallback configuration file in BUGS section of gitweb.conf documentation. This will hopefully help people who expect them to be a common default, which unfortunately came later in the history.
Diffstat (limited to 'Documentation/gitweb.conf.txt')
-rw-r--r--Documentation/gitweb.conf.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/gitweb.conf.txt b/Documentation/gitweb.conf.txt
index eb636317b..ea0526ecc 100644
--- a/Documentation/gitweb.conf.txt
+++ b/Documentation/gitweb.conf.txt
@@ -857,6 +857,13 @@ adding the following lines to your gitweb configuration file:
$known_snapshot_formats{'zip'}{'disabled'} = 1;
$known_snapshot_formats{'tgz'}{'compressor'} = ['gzip','-6'];
+BUGS
+----
+Debugging would be easier if the fallback configuration file
+(`/etc/gitweb.conf`) and environment variable to override its location
+('GITWEB_CONFIG_SYSTEM') had names reflecting their "fallback" role.
+The current names are kept to avoid breaking working setups.
+
ENVIRONMENT
-----------
The location of per-instance and system-wide configuration files can be