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.
Jonathan Nieder committed
Apr 16, 2013 at 15:26 UTC
1a39b7278712dbdaa27de303c670134e750c345d
1 file changed
+7
Documentation/gitweb.conf.txt
+7
@@ -857,6 +857,13 @@ adding the following lines to your gitweb configuration file:
857
$known_snapshot_formats{'zip'}{'disabled'} = 1;
858
$known_snapshot_formats{'tgz'}{'compressor'} = ['gzip','-6'];
859
860
+BUGS
861
+----
862
+Debugging would be easier if the fallback configuration file
863
+(`/etc/gitweb.conf`) and environment variable to override its location
864
+('GITWEB_CONFIG_SYSTEM') had names reflecting their "fallback" role.
865
+The current names are kept to avoid breaking working setups.
866
+
867
ENVIRONMENT
868
-----------
869
The location of per-instance and system-wide configuration files can be