From: Ævar Arnfjörð Bjarmason Date: Fri, 27 Jan 2012 00:02:52 GMT Subject: Re: [PATCH 1/4] config: add include directive Message-ID: In-Reply-To: <20120126073752.GA30474@sigill.intra.peff.net> On Thu, Jan 26, 2012 at 08:37, Jeff King wrote: > This patch introduces an include directive for config files. > It looks like: > >  [include] >    path = /path/to/file Very nice, I'd been meaning to resurrect my gitconfig.d series, and this series implements a lot of the structural changes needed for that sort of thing. What do you think of an option (e.g. include.gitconfig_d = true) that would cause git to look in: /etc/gitconfig.d/* ~/.gitconfig.d/* .git/config.d/* As well as the usual: /etc/gitconfig ~/.gitconfig .git/config It would make including third-party config easy since you could just symlink it in, and it would follow the convention of a lot of other programs that have a foo and a foo.d directory.