Thread (1 message) 1 message, 1 author, 2017-12-18

Re: Q: rational for $XDG_CONFIG_HOME/git/config to be "non global" or just a bug?

From: Junio C Hamano <hidden>
Date: 2017-12-18 16:55:47

Yaroslav Halchenko [off-list ref] writes:
On Mon, 18 Dec 2017, Jeff King wrote:
quoted
To complete that abstraction it seems like reading via "--global" should
read from both (in the same precedence order that normal config lookup
uses).
FWIW +1 from me on that ;)
FWIW I do not have problem with that endgame.

I wonder if anybody wants to get their hands dirty.  It should be a
quite straight-forward to split a helper (or three) out of the
do_git_config_sequence() helper, but the interface from cmd_config()
to call into config.c to read a specific "class" of config file is
the same codepath as a single file, so a major part of this work
will be to design how to extend the interface to do the limited
"sequence" thing.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help