On Thu, Aug 18, 2022 at 3:16 PM Jeff King <peff@xxxxxxxx> wrote: > I agree this isn't entirely friendly, but I think things are working as > designed. Even though you're only asking to change global config, we do > still speculatively check for a repository when running git-config at > all, as various options could impact its behavior. So the backtrace > looks like this: I didn't know that a local repository could affect the result of "git config --global". Thank you for the detailed explanation!