#include "git-compat-util.h"
#include "config.h"
#include "color.h"
#include "editor.h"
#include "gettext.h"
#include "hex-ll.h"
#include "pager.h"
#include "strbuf.h"
static int git_use_color_default = …;
int color_stdout_is_tty = …;
const char *column_colors_ansi[] = …;
enum { … };
const int column_colors_ansi_max = …;
struct color { … };
static int match_word(const char *word, int len, const char *match)
{ … }
static int get_hex_color(const char **inp, int width, unsigned char *out)
{ … }
static int parse_ansi_color(struct color *out, const char *name, int len)
{ … }
static int parse_color(struct color *out, const char *name, int len)
{ … }
static int parse_attr(const char *name, size_t len)
{ … }
int color_parse(const char *value, char *dst)
{ … }
static char *color_output(char *out, int len, const struct color *c, int background)
{ … }
static int color_empty(const struct color *c)
{ … }
int color_parse_mem(const char *value, int value_len, char *dst)
{ … }
int git_config_colorbool(const char *var, const char *value)
{ … }
static int check_auto_color(int fd)
{ … }
int want_color_fd(int fd, int var)
{ … }
int git_color_config(const char *var, const char *value, void *cb UNUSED)
{ … }
void color_print_strbuf(FILE *fp, const char *color, const struct strbuf *sb)
{ … }
static int color_vfprintf(FILE *fp, const char *color, const char *fmt,
va_list args, const char *trail)
{ … }
int color_fprintf(FILE *fp, const char *color, const char *fmt, ...)
{ … }
int color_fprintf_ln(FILE *fp, const char *color, const char *fmt, ...)
{ … }
int color_is_nil(const char *c)
{ … }