Re: [PATCH v1] config: add '--sources' option to print the source of a config value
- From
Sebastian Schuberth <sschuberth@gmail.com>
- Date
- Feb 5, 2016, 11:13 UTC
- Message-ID
- <56B483C0.6070906@gmail.com>
- In-Reply-To
- <1454661750-85703-1-git-send-email-larsxschneider@gmail.com>
On 2/5/2016 9:42, larsxschneider@gmail.com wrote:
> Teach 'git config' the '--sources' option to print the source > configuration file for every printed value.
Yay, not being able to see where a config setting originates from has bothered me in the past, too. So thanks for working on this.
However, the naming of the '--sources' option sounds a bit misleading to me. It has nothing to do with source code. So maybe better name it '--origin', or even more verbose '--show-origin' or '--show-filename'?
Regards, Sebastian