gitweb: Support legacy options used by kernel.org caching engine
commit27ec67ad90ecd56ac3d05f6a9ea49b6faabf7d0a
authorJakub Narebski <jnareb@gmail.com>
Sun, 5 Dec 2010 23:01:10 +0000 (6 00:01 +0100)
committerJakub Narebski <jnareb@gmail.com>
Sun, 5 Dec 2010 23:01:10 +0000 (6 00:01 +0100)
tree37e8d3fb605158c5e4f71ea763abfc166a60cdd0
parent9e8e92f318c6b776486ab19509326f0b470d491d
gitweb: Support legacy options used by  caching engine

Try to translate between config variables used by gitweb caching
patches[1] by John 'Warthog9' Hawley (J.H.) used, among others, by
git.kernel.org, and new %cache_config options, but only if they were set
in the config file.

Note that $cache_enable is *not* translated to $caching_enabled.

Footnotes:
~~~~~~~~~~
[1] See for example "Gitweb caching v7" thread on git mailing list:
    http://thread.gmane.org/gmane.comp.version-control.git/160147

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
gitweb/gitweb.perl