From: Jakub Narebski Date: Tue, 06 Apr 2010 09:02:26 GMT Subject: Re: Is there interest in reading ~/.gitconfig.d/* and /etc/gitconfig.d/*? Message-ID: In-Reply-To: Ævar Arnfjörð Bjarmason writes: > On Sun, Apr 4, 2010 at 07:50, Eli Barzilay 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/* I think that it would be better to use include ~/.gitconfig.d/* -- Jakub Narebski Poland ShadeHawk on #git