From: Jeff King Date: Mon, 02 Jun 2014 06:59:51 GMT Subject: Re: feature request - implement a "GIT_AUTHOR_EMAIL" equivalent, but processed BEFORE .gitconfig Message-ID: <20140602065947.GC27254@sigill.intra.peff.net> In-Reply-To: On Fri, May 30, 2014 at 02:35:37PM -0700, Junio C Hamano wrote: > Nathan's installation can set a "GIT_MYSELF" and then have something > like this in the shared $HOME/.gitconfig > > [include] > path = /usr/local/users/$GIT_MYSELF/ident > > we could even make the whole thing fail when GIT_MYSELF is not set > but I haven't thought things through ;-) Yeah, that is something I considered[1] when writing the initial include.path implementation. Something like: [include] path = .gitconfig-$HOSTNAME could be potentially useful. But I punted at the time to wait for somebody to actually ask for it. If somebody wanted to implement it, I don't see a reason to avoid it. -Peff [1] http://article.gmane.org/gmane.comp.version-control.git/190196