diff options
author | Lars Schneider <larsxschneider@gmail.com> | 2016-02-19 10:16:02 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-22 09:43:48 -0800 |
commit | 70bd879ab66aeee809306908e3551d50cdf06802 (patch) | |
tree | eb2cc3757ef3d250f10724eba9743933a97cbcd3 /contrib/examples/git-revert.sh | |
parent | config: add 'origin_type' to config_source struct (diff) | |
download | tgif-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 'contrib/examples/git-revert.sh')
0 files changed, 0 insertions, 0 deletions