summaryrefslogtreecommitdiff
path: root/builtin/update-index.c
diff options
context:
space:
mode:
authorLibravatar Lars Schneider <larsxschneider@gmail.com>2016-02-19 10:16:02 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-02-22 09:43:48 -0800
commit70bd879ab66aeee809306908e3551d50cdf06802 (patch)
treeeb2cc3757ef3d250f10724eba9743933a97cbcd3 /builtin/update-index.c
parentconfig: add 'origin_type' to config_source struct (diff)
downloadtgif-70bd879ab66aeee809306908e3551d50cdf06802.tar.xz
config: add '--show-origin' option to print the origin of a config value
If config values are queried using 'git config' (e.g. via --get, --get-all, --get-regexp, or --list flag) then it is sometimes hard to find the configuration file where the values were defined. Teach 'git config' the '--show-origin' option to print the source configuration file for every printed value. Based-on-patch-by: Jeff King <peff@peff.net> Signed-off-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/update-index.c')
0 files changed, 0 insertions, 0 deletions