diff options
author | Robert Estelle <robertestelle@gmail.com> | 2021-10-25 22:32:36 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-28 09:37:08 -0700 |
commit | 05f1f41c9b02b916a5f03c5658bec3270ac3684d (patch) | |
tree | 1f56c22fefc92aca90f426a61c7505a144a05976 /Documentation/git-stripspace.txt | |
parent | color: add missing GIT_COLOR_* white/black constants (diff) | |
download | tgif-05f1f41c9b02b916a5f03c5658bec3270ac3684d.tar.xz |
color: support "default" to restore fg/bg color
The name "default" can now be used in foreground or background colors,
and means to use the terminal's default color, discarding any
explicitly-set color without affecting the other attributes. On many
modern terminals, this is *not* the same as specifying "white" or
"black".
Although attributes could previously be cleared like "no-bold", there
had not been a similar mechanism available for colors, other than a full
"reset", which cannot currently be combined with other settings.
Note that this is *not* the same as the existing name "normal", which is
a no-op placeholder to permit setting the background without changing
the foreground. (i.e. what is currently called "normal" might have been
more descriptively named "inherit", "none", "pass" or similar).
Signed-off-by: Robert Estelle <robertestelle@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-stripspace.txt')
0 files changed, 0 insertions, 0 deletions