Skip to content

Commit 1a39b72

Browse files
jrngitster
authored andcommitted
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.
1 parent 0d2f7d1 commit 1a39b72

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/gitweb.conf.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,13 @@ adding the following lines to your gitweb configuration file:
857857
$known_snapshot_formats{'zip'}{'disabled'} = 1;
858858
$known_snapshot_formats{'tgz'}{'compressor'} = ['gzip','-6'];
859859

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+
860867
ENVIRONMENT
861868
-----------
862869
The location of per-instance and system-wide configuration files can be

0 commit comments

Comments
 (0)