Files
git/Documentation
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
..
2018-03-22 14:36:51 -07:00
2017-11-17 10:31:05 +09:00
2017-04-13 16:15:25 -07:00
2017-11-06 14:24:24 +09:00
2016-08-11 14:35:42 -07:00
2017-06-27 10:35:49 -07:00
2018-02-07 12:46:48 -08:00
2018-03-15 15:00:46 -07:00
2017-01-18 15:12:18 -08:00