git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Paul S. Strauss" <pss@acm.org>
To: git@vger.kernel.org
Subject: git config not following include paths by default
Date: Thu, 18 Jun 2020 13:25:45 -0700	[thread overview]
Message-ID: <6aab7843-7ece-5499-c074-a5fa8ef68beb@acm.org> (raw)

Using git version 2.25.1 in a bash shell on Ubuntu 20.04 (focal).

My global git config file has an [include] with path set to additional 
configuration.

"git config --list --show-origin --includes" shows all of my configuration, 
including items from the included file.

"git config --list --show-origin" shows only the items in my main config file. 
Not sure why "--no-includes" is the default, but not a huge deal either way.

What is a big deal is that none of the configuration in my included config file 
is available to me. I have lots of aliases and other settings in the included 
file, but none of them work.

This can't be the expected behavior, can it? If so, then including config files 
is pretty useless.

-- 
Paul S. Strausspss@acm.org


             reply	other threads:[~2020-06-18 20:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-18 20:25 Paul S. Strauss [this message]
2020-06-18 20:40 ` git config not following include paths by default Paul S. Strauss
2020-06-19 11:58   ` Jeff King
2020-06-19 18:50     ` Paul S. Strauss

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6aab7843-7ece-5499-c074-a5fa8ef68beb@acm.org \
    --to=pss@acm.org \
    --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.
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 NNTP newsgroup(s).