Possible bug in includeIf / conditional includes on non git initialised directories
- From
Raphael Stolt <raphael.stolt@gmail.com>
- Date
- May 11, 2017, 18:53 UTC
- Message-ID
- <F55DC360-9C1E-45B9-B8BA-39E1001BD620@gmail.com>
Hi there,
I might have stumbled this time over a real bug in includeIf / conditional includes or maybe it's just as intended. 1) Given I have a correct configured includeIf and I’m issuing `git config --show-origin --get user.email` against an directory which hasn’t been `git init`ed I get the user.email configured globally. 2) Given I have a correct configured includeIf and I’m issuing `git config --show-origin --get user.email` against an directory which has been `git init`ed I get the user.email configured conditionally. For 1) I would probably expect to get the user.email configured conditionally even for a plain directory.
More details see this (http://stackoverflow.com/questions/43919191/git-2-13-conditional-config-on-windows/) Stack Overflow question. Best regards, Raphael Stolt