Re: Possible bug in includeIf / conditional includes
- From
Sebastian Schuberth <sschuberth@gmail.com>
- Date
- May 10, 2017, 18:58 UTC
- Message-ID
- <b80c68fa-fe1e-3cf8-3c7e-527a4d941108@gmail.com>
- In-Reply-To
- <C1ACB28C-F1B4-42A1-8135-797DEFD9F03C@gmail.com>
On 2017-05-10 19:00, raphael.stolt@gmail.com wrote:
Show 11 quoted lines
> 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