Thread (1 message) 1 message, 1 author, 2019-12-21

Re: [PATCH 1/1] config: allow user to know scope of config options

From: Junio C Hamano <hidden>
Date: 2019-12-21 23:47:59

Matt Rogers [off-list ref] writes:
And that origin and scope correlate, but aren't necessarily
one-for-one.
Yes, exactly.  When I see "orthogonal", I expect the word describes
things that do not correlate.

I can see values in the option that gives scope but not path in
order to write scripts that limits var-value pairs to be used
(e.g. "I do not want to be affected by the per-repository values",
"I do not trust settings that comes system-wide").  I also can see
values in the option that gives only path when debugging the
configuration file.

I briefly wondered, for the purpose of such "I do want to see only
those settings coming from these scopes" script, it may make more
sense to have the command _filter_ the var-value pairs, instead of
showing all of them with label, but that feature always exists ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help