gitweb: optionally read config from GITWEB_CONFIG
commitc8d138a8c004ebce6ef840cfcc7c47227c2d16ba
authorJeff King <peff@peff.net>
Wed, 2 Aug 2006 19:23:34 +0000 (2 15:23 -0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 2 Aug 2006 20:56:34 +0000 (2 13:56 -0700)
treefcd38550dee75598d7da521c329da4dc0f49d2c7
parent22987ae0bc354bb2277c068ce15e9887f7cf0626
gitweb: optionally read config from GITWEB_CONFIG

Configuration will first be taken from variables inside the gitweb.cgi
script, which in turn come from the Makefile. Afterwards, the contents of
GITWEB_CONFIG are read, overriding the builtin defaults.

This should eliminate the need for editing the gitweb script at all. Users
should edit the Makefile and/or add a config file.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
gitweb/gitweb.perl