diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-12-16 12:50:03 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-16 12:50:03 -0800 |
commit | f68b780b2575628eca75e9502e4997f98ad2af3b (patch) | |
tree | 885194f0e88689e63ad9aa154485f795f1dc0ba3 /color.h | |
parent | Merge branch 'ak/describe-exact' (diff) | |
parent | default color.status.branch to "same as header" (diff) | |
download | tgif-f68b780b2575628eca75e9502e4997f98ad2af3b.tar.xz |
Merge branch 'aa/status-hilite-branch'
* aa/status-hilite-branch:
default color.status.branch to "same as header"
status: show branchname with a configurable color
Diffstat (limited to 'color.h')
-rw-r--r-- | color.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -43,6 +43,9 @@ #define GIT_COLOR_BG_MAGENTA "\033[45m" #define GIT_COLOR_BG_CYAN "\033[46m" +/* A special value meaning "no color selected" */ +#define GIT_COLOR_NIL "NIL" + /* * This variable stores the value of color.ui */ @@ -62,4 +65,6 @@ int color_fprintf(FILE *fp, const char *color, const char *fmt, ...); __attribute__((format (printf, 3, 4))) int color_fprintf_ln(FILE *fp, const char *color, const char *fmt, ...); +int color_is_nil(const char *color); + #endif /* COLOR_H */ |