color 511 builtin/branch.c int color; color 519 builtin/branch.c color = BRANCH_COLOR_LOCAL; color 522 builtin/branch.c color = BRANCH_COLOR_REMOTE; color 525 builtin/branch.c color = BRANCH_COLOR_PLAIN; color 532 builtin/branch.c color = BRANCH_COLOR_CURRENT; color 538 builtin/branch.c strbuf_addf(&out, "%c %s%-*s%s", c, branch_get_color(color), color 542 builtin/branch.c strbuf_addf(&out, "%c %s%s%s", c, branch_get_color(color), color 692 builtin/grep.c OPT__COLOR(&opt.color, N_("highlight matches")), color 798 builtin/grep.c opt.color = 0; color 63 color.c static int parse_color(struct color *out, const char *name, int len) color 153 color.c static char *color_output(char *out, const struct color *c, char type) color 174 color.c static int color_empty(const struct color *c) color 184 color.c struct color fg = { COLOR_UNSPECIFIED }; color 185 color.c struct color bg = { COLOR_UNSPECIFIED }; color 195 color.c struct color c; color 330 color.c void color_print_strbuf(FILE *fp, const char *color, const struct strbuf *sb) color 332 color.c if (*color) color 333 color.c fprintf(fp, "%s", color); color 335 color.c if (*color) color 339 color.c static int color_vfprintf(FILE *fp, const char *color, const char *fmt, color 344 color.c if (*color) color 345 color.c r += fprintf(fp, "%s", color); color 347 color.c if (*color) color 356 color.c int color_fprintf(FILE *fp, const char *color, const char *fmt, ...) color 361 color.c r = color_vfprintf(fp, color, fmt, args, NULL); color 366 color.c int color_fprintf_ln(FILE *fp, const char *color, const char *fmt, ...) color 371 color.c r = color_vfprintf(fp, color, fmt, args, "\n"); color 83 color.h int color_fprintf(FILE *fp, const char *color, const char *fmt, ...); color 85 color.h int color_fprintf_ln(FILE *fp, const char *color, const char *fmt, ...); color 86 color.h void color_print_strbuf(FILE *fp, const char *color, const struct strbuf *sb); color 88 color.h int color_is_nil(const char *color); color 155 commit.h int color; color 501 diff.c enum color_diff color, color 505 diff.c const char *set = diff_get_color(ecbdata->color_diff, color); color 777 diff.c const char *color; /* NULL; filled in by the setup code if color 816 diff.c if (st_el->color && fputs(st_el->color, fp) < 0) color 822 diff.c if (st_el->color && *st_el->color color 1127 diff.c st->old.color = diff_get_color_opt(o, DIFF_FILE_OLD); color 1128 diff.c st->new.color = diff_get_color_opt(o, DIFF_FILE_NEW); color 1129 diff.c st->ctx.color = diff_get_color_opt(o, DIFF_CONTEXT); color 50 graph.c unsigned short color; color 71 graph.c static const char *column_get_color_code(unsigned short color) color 73 graph.c return column_colors[color]; color 79 graph.c if (c->color < column_colors_max) color 80 graph.c strbuf_addstr(sb, column_get_color_code(c->color)); color 82 graph.c if (c->color < column_colors_max) color 367 graph.c return graph->columns[i].color; color 394 graph.c graph->new_columns[graph->num_new_columns].color = graph_find_commit_color(graph, commit); color 42 grep.c opt->color = -1; color 67 grep.c char *color = NULL; color 96 grep.c opt->color = git_config_colorbool(var, value); color 98 grep.c color = opt->color_context; color 100 grep.c color = opt->color_filename; color 102 grep.c color = opt->color_function; color 104 grep.c color = opt->color_lineno; color 106 grep.c color = opt->color_match_context; color 108 grep.c color = opt->color_match_selected; color 110 grep.c color = opt->color_selected; color 112 grep.c color = opt->color_sep; color 122 grep.c if (color) { color 125 grep.c return color_parse(value, color); color 145 grep.c opt->color = def->color; color 812 grep.c const char *color) color 814 grep.c if (want_color(opt->color) && color && color[0]) { color 815 grep.c opt->output(opt, color, strlen(color)); color 1131 grep.c if (opt->color) { color 117 grep.h int color; color 848 line-log.c const char *color, const char *reset) color 860 line-log.c fputs(color, stdout); color 428 log-tree.c const char *color, *reset, *eol; color 430 log-tree.c color = diff_get_color_opt(&opt->diffopt, color 435 log-tree.c printf("%s%.*s%s%s", color, (int)(eol - bol), bol, reset, color 685 log-tree.c ctx.color = opt->diffopt.use_color; color 21 log-tree.h #define format_decorations(strbuf, commit, color) \ color 22 log-tree.h format_decorations_extended((strbuf), (commit), (color), " (", ", ", ")") color 960 pretty.c char color[COLOR_MAXLEN]; color 965 pretty.c if (!want_color(c->pretty_ctx->color)) color 968 pretty.c if (color_parse_mem(begin, end - begin, color) < 0) color 970 pretty.c strbuf_addstr(sb, color); color 158 ref-filter.c const char *color, *ep = strchr(sp, ')'); color 167 ref-filter.c if (skip_prefix(used_atom[at], "color:", &color)) color 168 ref-filter.c need_color_reset_at_eol = !!strcmp(color, "reset"); color 657 ref-filter.c char color[COLOR_MAXLEN] = ""; color 659 ref-filter.c if (color_parse(name + 6, color) < 0) color 661 ref-filter.c v->s = xstrdup(color); color 1064 ref-filter.c char color[COLOR_MAXLEN] = ""; color 1066 ref-filter.c if (color_parse("reset", color) < 0) color 1068 ref-filter.c resetv.s = color; color 44 wt-status.c static void status_vprintf(struct wt_status *s, int at_bol, const char *color, color 58 wt-status.c color_print_strbuf(s->fp, color, &sb); color 77 wt-status.c color_print_strbuf(s->fp, color, &linebuf); color 90 wt-status.c void status_printf_ln(struct wt_status *s, const char *color, color 96 wt-status.c status_vprintf(s, 1, color, fmt, ap, "\n"); color 100 wt-status.c void status_printf(struct wt_status *s, const char *color, color 106 wt-status.c status_vprintf(s, 1, color, fmt, ap, NULL); color 110 wt-status.c static void status_printf_more(struct wt_status *s, const char *color, color 116 wt-status.c status_vprintf(s, 0, color, fmt, ap, NULL); color 147 wt-status.c const char *c = color(WT_STATUS_HEADER, s); color 195 wt-status.c const char *c = color(WT_STATUS_HEADER, s); color 213 wt-status.c const char *c = color(WT_STATUS_HEADER, s); color 232 wt-status.c const char *c = color(WT_STATUS_HEADER, s); color 242 wt-status.c status_printf_ln(s, color(WT_STATUS_HEADER, s), "%s", ""); color 309 wt-status.c const char *c = color(WT_STATUS_UNMERGED, s); color 325 wt-status.c status_printf(s, color(WT_STATUS_HEADER, s), "\t"); color 338 wt-status.c const char *c = color(change_type, s); color 387 wt-status.c status_printf(s, color(WT_STATUS_HEADER, s), "\t"); color 400 wt-status.c status_printf_more(s, color(WT_STATUS_HEADER, s), "%s", extra.buf); color 797 wt-status.c status_printf(s, color(WT_STATUS_HEADER, s), "\t"); color 798 wt-status.c status_printf_more(s, color(WT_STATUS_UNTRACKED, s), color 807 wt-status.c color(WT_STATUS_HEADER, s), color 809 wt-status.c color(WT_STATUS_UNTRACKED, s)); color 851 wt-status.c const char *c = color(WT_STATUS_HEADER, s); color 920 wt-status.c color_fprintf_ln(s->fp, color(WT_STATUS_HEADER, s), color 924 wt-status.c color_fprintf_ln(s->fp, color(WT_STATUS_HEADER, s), "%c", color 945 wt-status.c const char *color) color 948 wt-status.c status_printf_ln(s, color, _("You have unmerged paths.")); color 950 wt-status.c status_printf_ln(s, color, color 953 wt-status.c status_printf_ln(s, color, color 956 wt-status.c status_printf_ln(s, color, color 964 wt-status.c const char *color) color 966 wt-status.c status_printf_ln(s, color, color 969 wt-status.c status_printf_ln(s, color, color 973 wt-status.c status_printf_ln(s, color, color 975 wt-status.c status_printf_ln(s, color, color 977 wt-status.c status_printf_ln(s, color, color 1092 wt-status.c const char *color) color 1105 wt-status.c status_printf_ln(s, color, _("No commands done.")); color 1107 wt-status.c status_printf_ln(s, color, color 1116 wt-status.c status_printf_ln(s, color, " %s", have_done.items[i].string); color 1118 wt-status.c status_printf_ln(s, color, color 1123 wt-status.c status_printf_ln(s, color, color 1126 wt-status.c status_printf_ln(s, color, color 1132 wt-status.c status_printf_ln(s, color, " %s", yet_to_do.items[i].string); color 1134 wt-status.c status_printf_ln(s, color, color 1144 wt-status.c const char *color) color 1147 wt-status.c status_printf_ln(s, color, color 1152 wt-status.c status_printf_ln(s, color, color 1158 wt-status.c const char *color) color 1162 wt-status.c show_rebase_information(s, state, color); color 1164 wt-status.c print_rebase_state(s, state, color); color 1166 wt-status.c status_printf_ln(s, color, color 1168 wt-status.c status_printf_ln(s, color, color 1170 wt-status.c status_printf_ln(s, color, color 1174 wt-status.c print_rebase_state(s, state, color); color 1176 wt-status.c status_printf_ln(s, color, color 1180 wt-status.c status_printf_ln(s, color, color 1185 wt-status.c status_printf_ln(s, color, color 1188 wt-status.c status_printf_ln(s, color, color 1192 wt-status.c status_printf_ln(s, color, color 1197 wt-status.c status_printf_ln(s, color, color 1200 wt-status.c status_printf_ln(s, color, color 1202 wt-status.c status_printf_ln(s, color, color 1211 wt-status.c const char *color) color 1213 wt-status.c status_printf_ln(s, color, _("You are currently cherry-picking commit %s."), color 1217 wt-status.c status_printf_ln(s, color, color 1220 wt-status.c status_printf_ln(s, color, color 1222 wt-status.c status_printf_ln(s, color, color 1230 wt-status.c const char *color) color 1232 wt-status.c status_printf_ln(s, color, _("You are currently reverting commit %s."), color 1236 wt-status.c status_printf_ln(s, color, color 1239 wt-status.c status_printf_ln(s, color, color 1241 wt-status.c status_printf_ln(s, color, color 1249 wt-status.c const char *color) color 1252 wt-status.c status_printf_ln(s, color, color 1256 wt-status.c status_printf_ln(s, color, color 1259 wt-status.c status_printf_ln(s, color, color 1413 wt-status.c const char *state_color = color(WT_STATUS_HEADER, s); color 1430 wt-status.c const char *branch_color = color(WT_STATUS_ONBRANCH, s); color 1431 wt-status.c const char *branch_status_color = color(WT_STATUS_HEADER, s); color 1442 wt-status.c branch_status_color = color(WT_STATUS_NOBRANCH, s); color 1461 wt-status.c status_printf(s, color(WT_STATUS_HEADER, s), "%s", ""); color 1474 wt-status.c status_printf_ln(s, color(WT_STATUS_HEADER, s), "%s", ""); color 1475 wt-status.c status_printf_ln(s, color(WT_STATUS_HEADER, s), _("Initial commit")); color 1476 wt-status.c status_printf_ln(s, color(WT_STATUS_HEADER, s), "%s", ""); color 1555 wt-status.c color_fprintf(s->fp, color(WT_STATUS_UNMERGED, s), "%s", how); color 1573 wt-status.c color_fprintf(s->fp, color(WT_STATUS_UPDATED, s), "%c", d->index_status); color 1577 wt-status.c color_fprintf(s->fp, color(WT_STATUS_CHANGED, s), "%c", d->worktree_status); color 1618 wt-status.c color_fprintf(s->fp, color(WT_STATUS_UNTRACKED, s), "%s", sign); color 1627 wt-status.c const char *header_color = color(WT_STATUS_HEADER, s); color 1628 wt-status.c const char *branch_color_local = color(WT_STATUS_LOCAL_BRANCH, s); color 1629 wt-status.c const char *branch_color_remote = color(WT_STATUS_REMOTE_BRANCH, s); color 1636 wt-status.c color_fprintf(s->fp, color(WT_STATUS_HEADER, s), "## "); color 1646 wt-status.c color_fprintf(s->fp, color(WT_STATUS_NOBRANCH, s), "%s", color 108 wt-status.h void status_printf_ln(struct wt_status *s, const char *color, const char *fmt, ...); color 110 wt-status.h void status_printf(struct wt_status *s, const char *color, const char *fmt, ...);