Revision 71f4b1834a8b4d1cb24ea326ca4a3fcc02796a5a authored by Carl Worth on 04 May 2007, 18:27:10 UTC, committed by Junio C Hamano on 04 May 2007, 23:58:03 UTC
Most other documentation will frequently be read from an installation
of git so will naturally be associated with the installed version.
But these two documents in particular are often read from web pages
while users are still exploring git. It's important to mention
version 1.5.1 since these documents provide example commands that
won't work with previous versions of git.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 171af11
Raw File
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