summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorMatthew Rogers <mattr94@gmail.com>2020-02-10 00:30:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-02-10 18:49:12 (GMT)
commit145d59f48233c64cb8a9262c9f1451cc7d66b530 (patch)
tree95d368d978729dab2f37763c4b9e97d5848d62a1 /t/helper
parent9a83d088ee00dcdab171b2020ab334e369437a33 (diff)
downloadgit-145d59f48233c64cb8a9262c9f1451cc7d66b530.zip
git-145d59f48233c64cb8a9262c9f1451cc7d66b530.tar.gz
git-145d59f48233c64cb8a9262c9f1451cc7d66b530.tar.bz2
config: add '--show-scope' to print the scope of a config value
When a user queries config values with --show-origin, often it's difficult to determine what the actual "scope" (local, global, etc.) of a given value is based on just the origin file. Teach 'git config' the '--show-scope' option to print the scope of all displayed config values. Note that we should never see anything of "submodule" scope as that is only ever used by submodule-config.c when parsing the '.gitmodules' file. Signed-off-by: Matthew Rogers <mattr94@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper')
0 files changed, 0 insertions, 0 deletions