From: Sebastian Schuberth Date: Wed, 10 May 2017 18:58:18 GMT Subject: Re: Possible bug in includeIf / conditional includes Message-ID: In-Reply-To: On 2017-05-10 19:00, raphael.stolt@gmail.com wrote: > Current configuration which finds the conditional configuration. > > ~/.gitconfig > [includeIf "gitdir:~/Work/git-repos/oss/"] > path = ~/Work/git-repos/oss/.oss-gitconfig > > Expected configuration which doesn't find the conditional configuration: > > ~/.gitconfig > [includeIf "gitdir:~/Work/git-repos/oss/"] > path = .oss-gitconfig My guess is, because includeIf might contain other conditionals than "gitdir", the generic convention is to always use an absolute path for "path". -- Sebastian Schuberth