Re: Is it possible to use new conditional includes outside of git dir?

2017-05-18 Thread Mihails Strasuns
On 05/15/2017 11:00 PM, Ævar Arnfjörð Bjarmason wrote: > It's intentional, but in the "that's how this works" sense, not "we'll > never add what you just asked for". > > This came up on list last week: > https://public-inbox.org/git/f55dc360-9c1e-45b9-b8ba-39e1001bd...@gmail.com/T/#u > > So I'd

Re: Is it possible to use new conditional includes outside of git dir?

2017-05-15 Thread Ævar Arnfjörð Bjarmason
On Mon, May 15, 2017 at 8:09 PM, Mihails Strasuns wrote: > I was very excited to try out new conditional include feature but have > quickly found out that it doesn't work with some of my custom scripts > because of the following behaviour: > > # .gitconfig > [includeIf

Is it possible to use new conditional includes outside of git dir?

2017-05-15 Thread Mihails Strasuns
Hello, I was very excited to try out new conditional include feature but have quickly found out that it doesn't work with some of my custom scripts because of the following behaviour: # .gitconfig [includeIf "gitdir:~/work/"] path = ~/.gitconfig.work [user] name1 = Someone # .gitconfig.work