[PATCH 0/4] Teach `--default` to `git-config(1)`
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Mar 6, 2018, 02:17 UTC
- Message-ID
- <20180306021729.45813-1-me@ttaylorr.com>
Hi,
Attached is a patch series to introduce `--default` and `--color` to the `git-config(1)` builtin with the aim of introducing a consistent interface to replace `--get-color`.
Thank you in advance for reviewing this series; I will be more than happy to respond to any feedback seeing as I am still quite new to working on Git itself.
Thanks, Taylor
Taylor Blau (4): builtin/config: introduce `--default` Documentation: list all type specifiers in config prose config.c: introduce 'git_config_color' to parse ANSI colors builtin/config: introduce `--color` type specifier
Documentation/git-config.txt | 21 +++++--- builtin/config.c | 36 +++++++++++++ config.c | 10 ++++ config.h | 1 + t/t1300-repo-config.sh | 16 ++++++ t/t1310-config-default.sh | 119 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 197 insertions(+), 6 deletions(-) create mode 100755 t/t1310-config-default.sh
-- 2.15.1.354.g95ec6b1b3