git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git config not following include paths by default
@ 2020-06-18 20:25 Paul S. Strauss
  2020-06-18 20:40 ` Paul S. Strauss
  0 siblings, 1 reply; 4+ messages in thread
From: Paul S. Strauss @ 2020-06-18 20:25 UTC (permalink / raw)
  To: git

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


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

end of thread, other threads:[~2020-06-19 18:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-18 20:25 git config not following include paths by default Paul S. Strauss
2020-06-18 20:40 ` Paul S. Strauss
2020-06-19 11:58   ` Jeff King
2020-06-19 18:50     ` Paul S. Strauss

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).