author | Mark Lodato <lodatom@gmail.com> | |
Sun, 7 Mar 2010 16:52:45 +0000 (11:52 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 7 Mar 2010 19:09:02 +0000 (11:09 -0800) | ||
commit | 758df17ab07a58e5b0f8effdf2d1b71fe8d79f1d | |
tree | bbcecc76088e6a6b690bae7a9ea75997a3d2b48f | tree | snapshot |
parent | dc05d73104fda239fc03342e0b53aa5741c53531 | commit | diff |
Add GIT_COLOR_BOLD_* and GIT_COLOR_BG_*
Add GIT_COLOR_BOLD_* macros to set both bold and the color in one
sequence. This saves two characters of output ("ESC [ m", minus ";")
and makes the code more readable.
Add the remaining GIT_COLOR_BG_* macros to make the list complete.
The white and black colors are not included since they look bad on most
terminals.
Signed-off-by: Mark Lodato <lodatom@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Add GIT_COLOR_BOLD_* macros to set both bold and the color in one
sequence. This saves two characters of output ("ESC [ m", minus ";")
and makes the code more readable.
Add the remaining GIT_COLOR_BG_* macros to make the list complete.
The white and black colors are not included since they look bad on most
terminals.
Signed-off-by: Mark Lodato <lodatom@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-grep.c | diff | blob | history | |
color.h | diff | blob | history | |
graph.c | diff | blob | history |