All of lore.kernel.org
 help / color / mirror / Atom feed
* Possible bug in includeIf / conditional includes on non git initialised directories
@ 2017-05-11 18:53 Raphael Stolt
  2017-05-11 20:31 ` Sebastian Schuberth
  2017-05-12  8:58 ` Ævar Arnfjörð Bjarmason
  0 siblings, 2 replies; 12+ messages in thread
From: Raphael Stolt @ 2017-05-11 18:53 UTC (permalink / raw)
  To: Git Mailing List

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






^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-12-18  6:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-11 18:53 Possible bug in includeIf / conditional includes on non git initialised directories Raphael Stolt
2017-05-11 20:31 ` Sebastian Schuberth
2017-05-11 23:43   ` Jeff King
2017-05-12  8:58 ` Ævar Arnfjörð Bjarmason
2020-12-15 15:52   ` [Bug report] includeIf config is not displayed in normal directories Stuart MacDonald
2020-12-15 22:23     ` Junio C Hamano
2020-12-16 19:24       ` Jeff King
2020-12-16 20:43         ` Stuart MacDonald
2020-12-16 23:24           ` Junio C Hamano
2020-12-18  6:23             ` Jeff King
2020-12-15 23:03     ` Ævar Arnfjörð Bjarmason
2020-12-16  0:23       ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.