commit | 70bd879ab66aeee809306908e3551d50cdf06802 | [log] [tgz] |
---|---|---|
author | Lars Schneider <larsxschneider@gmail.com> | Fri Feb 19 10:16:02 2016 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Feb 22 09:43:48 2016 -0800 |
tree | eb2cc3757ef3d250f10724eba9743933a97cbcd3 | |
parent | 473166b99078a2724b4fcda11a6a5327b9af60da [diff] |
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>