From: Andrew Ardill Date: Mon, 12 Aug 2013 13:01:03 GMT Subject: Re: git should not use a default user.email config value Message-ID: In-Reply-To: <20130812123921.GA16088@sigill.intra.peff.net> On 12 August 2013 22:39, Jeff King wrote: > We could do something like the patch below, which allows: > > $ git config --global include./magic/.path .gitconfig-magic > > to read ~/.gitconfig-magic only when we are in a repository with a > directory component "/magic/". Thanks, this looks great! I'll have a play with it tomorrow. Would locally configured config options override this one? From a quick read of the patch there doesn't look like there is a way of turning this off for a specific repository, but perhaps that is unnecessary. I think after a bit of use the edge cases will be a bit clearer. Again thanks, this will scratch an itch I didn't even realise I had. Regards, Andrew Ardill