diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-09-17 20:06:42 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-19 12:52:19 -0700 |
commit | f26a0012262106e0c7e92d8d07f00611112d3a8d (patch) | |
tree | 819a350da21af2493a29a55519e4924a0b29697f /color.h | |
parent | 6b30852ded5074652f4304a303521932235c62db (diff) | |
download | git-f26a0012262106e0c7e92d8d07f00611112d3a8d.tar.gz |
Enable wt-status output to a given FILE pointer.
Still defaults to stdout, but you can now override wt_status.fp after
calling wt_status_prepare().
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'color.h')
-rw-r--r-- | color.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ 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, ...); +int color_fprintf(FILE *fp, const char *color, const char *fmt, ...); +int color_fprintf_ln(FILE *fp, const char *color, const char *fmt, ...); #endif /* COLOR_H */ |