From: Raphael Stolt <raphael.stolt@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: Possible bug in includeIf / conditional includes on non git initialised directories
Date: Thu, 11 May 2017 20:53:41 +0200 [thread overview]
Message-ID: <F55DC360-9C1E-45B9-B8BA-39E1001BD620@gmail.com> (raw)
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
next prev reply other threads:[~2017-05-11 18:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-15 15:52 [Bug report] includeIf config is not displayed in normal directories Stuart MacDonald
2017-05-11 18:53 ` Raphael Stolt [this message]
2017-05-11 20:31 ` Possible bug in includeIf / conditional includes on non git initialised directories Sebastian Schuberth
2017-05-11 23:43 ` Jeff King
2017-05-12 8:58 ` Ævar Arnfjörð Bjarmason
2020-12-15 23:03 ` [Bug report] includeIf config is not displayed in normal directories Ævar Arnfjörð Bjarmason
2020-12-16 0:23 ` Junio C Hamano
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F55DC360-9C1E-45B9-B8BA-39E1001BD620@gmail.com \
--to=raphael.stolt@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).