[PATCH 2/2] Add feature: obtain repo section from git config
Ferry Huberts
mailings at hupie.com
Mon Jun 6 20:18:47 CEST 2011
On 06/06/2011 07:48 PM, larsh at hjemli.net wrote:
> On Mon, Jun 06, 2011 at 07:38:13PM +0200, Ferry Huberts wrote:
>> On 06/06/2011 07:13 PM, larsh at hjemli.net wrote:
>>> * If we want to support reading repo-config from $GITDIR/config, why not
>>> implement all the options supported by a $GITDIR/cgitrc?
>>
>> I'd prefer not doing this (everything in $GITDIR/config). I think it's
>> better to have $GITDIR/cgitrc files that hold the repo settings.
>
> I agree.
>
>
>> There is this setting called repo.path though that then is kind of an
>> annoyance to set and update. If we always use $GITDIR/cgitrc files then
>> the repo.path setting could be automatically deduced by cgit.
>
> For repo-specific cgitrc-files, repo.path (and repo.url) are automatically
> set (see http://hjemli.net/git/cgit/tree/cgitrc.5.txt#n446).
>
yeah, but that is dependent on scan-path which I don't use and don't
want to use.
--
Ferry Huberts
More information about the CGit
mailing list