Re: How should git-config include.path option work in ~/.gitconfig file?

2014-06-23 Thread Junio C Hamano
Jeff King writes: > ... Recently we discussed supporting environment > variables in expansions of path-oriented config variables. So something > like: > > [include] > path = $GIT_DIR/../.gitremotes > > would do what you want. We'd have to give some thought on what that > should do when $GIT_D

Re: How should git-config include.path option work in ~/.gitconfig file?

2014-06-23 Thread Jeff King
On Sun, Jun 22, 2014 at 01:00:53PM -0600, Cox, Michael wrote: > I like the idea of recognizing environment variable syntax in config files, > at least a feature that would allow *some* config variables to be specified > as accepting environment variable syntax. It adds a lot of flexibility, > but

Re: How should git-config include.path option work in ~/.gitconfig file?

2014-06-21 Thread Jeff King
[+cc mailing list] On Sat, Jun 21, 2014 at 03:16:05AM -0600, Cox, Michael wrote: > I discovered the new (to me, at least) git config include.path option > recently and tried using it to include a file, .gitremotes in my git > worktree. The .gitremotes file contains a remote.upstream section > co