From: Jakub Narebski Date: Wed, 02 Aug 2006 20:21:43 GMT Subject: Re: [PATCH] gitweb: optionally read config from GITWEB_CONFIG Message-ID: In-Reply-To: <20060802192333.GA30861@coredump.intra.peff.net> Jeff King wrote: > 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. Very nice. > @@ -56,7 +50,7 @@ # URI of GIT logo > our $logo = "@@GITWEB_LOGO@@"; > > # source of projects list > -our $projects_list = "@@GITWEB_LIST@@" || "$projectroot"; > +our $projects_list = "@@GITWEB_LIST@@"; > > # default blob_plain mimetype and default charset for text/plain blob > our $default_blob_plain_mimetype = 'text/plain'; But why that change? -- Jakub Narebski Warsaw, Poland ShadeHawk on #git