https://github.com/git/git
Revision fffe694d607ea683b5d08ee99a46d9b06cb74006 authored by Eric Wong on 07 January 2007, 06:25:55 UTC, committed by Junio C Hamano on 07 January 2007, 06:48:48 UTC
Looks like I broke it in 747fa12cef73b6ca04fffaddaad7326cf546cdea
but never noticed.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 84dee6b
Raw File
Tip revision: fffe694d607ea683b5d08ee99a46d9b06cb74006 authored by Eric Wong on 07 January 2007, 06:25:55 UTC
git-svn: fix show-ignore
Tip revision: fffe694
color.h
#ifndef COLOR_H
#define COLOR_H

/* "\033[1;38;5;2xx;48;5;2xxm\0" is 23 bytes */
#define COLOR_MAXLEN 24

int git_config_colorbool(const char *var, const char *value);
void color_parse(const char *var, const char *value, char *dst);
int color_printf(const char *color, const char *fmt, ...);
int color_printf_ln(const char *color, const char *fmt, ...);

#endif /* COLOR_H */
back to top