Files
git/builtin
Taylor Blau 63e2a0f8e9 builtin/config: introduce color type specifier
As of this commit, the canonical way to retreive an ANSI-compatible
color escape sequence from a configuration file is with the
`--get-color` action.

This is to allow Git to "fall back" on a default value for the color
should the given section not exist in the specified configuration(s).

With the addition of `--default`, this is no longer needed since:

  $ git config --default red --type=color core.section

will be have exactly as:

  $ git config --get-color core.section red

For consistency, let's introduce `--type=color` and encourage its use
with `--default` together over `--get-color` alone.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-04-23 22:52:20 +09:00
..
2017-10-06 10:07:18 +09:00
2018-02-07 12:41:36 -08:00
2018-03-06 14:54:07 -08:00
2018-02-27 10:33:57 -08:00
2017-10-07 16:27:55 +09:00
2018-03-14 12:01:07 -07:00
2018-03-06 14:54:07 -08:00
2018-03-14 12:01:07 -07:00
2018-03-14 12:01:07 -07:00
2018-02-22 10:08:05 -08:00
2018-02-22 10:08:05 -08:00
2017-11-21 14:07:50 +09:00
2017-06-24 14:28:41 -07:00
2018-03-06 14:54:07 -08:00
2018-03-14 12:01:07 -07:00
2017-08-26 22:55:09 -07:00
2018-03-06 14:54:07 -08:00
2018-03-14 12:01:07 -07:00
2018-03-14 12:01:07 -07:00
2017-12-08 09:52:42 -08:00
2018-03-06 14:54:07 -08:00
2017-12-13 11:15:14 -08:00
2017-08-22 10:29:03 -07:00
2017-12-27 11:16:29 -08:00
2018-03-14 12:01:07 -07:00
2017-11-21 14:07:50 +09:00