Subject: Re: Is there interest in reading ~/.gitconfig.d/* and /etc/gitconfig.d/*?

From: Jakub Narebski <[email-masked]>
Date: Tue, 06 Apr 2010 02:02:26 -0700 (PDT)

Ævar Arnfjörð Bjarmason <[email-masked]> writes:
> On Sun, Apr 4, 2010 at 07:50, Eli Barzilay <[email-masked]> wrote:

> > Isn't it better to have a way to include files instead?
> 
> Probably yes. Programs like Apache HTTPD, rsyslog and others just use
> ${foo}conf.d by convention by supporting config inclusion.
> 
> What would be the ideal config syntax for that? AFAICT git-config
> doesn't (yet) support top-level keys so maybe this:
> 
>     [INCLUDE]
>         path = ~/.gitconfig.d/*
> 
> Or if top-level support was added:
> 
>     INCLUDE = ~/.gitconfig.d/*

<bikeshedding mode on>

I think that it would be better to use

        include ~/.gitconfig.d/*

<bikeshedding mode off>
-- 
Jakub Narebski
Poland
ShadeHawk on #git