On Mon, Feb 15, 2016 at 11:17:46AM +0100, larsxschneider@gmail.com wrote:
From: Lars Schneider <redacted>
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 [off-list ref]
Signed-off-by: Lars Schneider <redacted>
---
Documentation/git-config.txt | 15 +++--
builtin/config.c | 33 ++++++++++
t/t1300-repo-config.sh | 153 +++++++++++++++++++++++++++++++++++++++++++
3 files changed, 196 insertions(+), 5 deletions(-)
I packed all of my thoughts on test tear-down into my response to the
cover letter. :)
Other than that minor point, this version looks good to me.
-Peff