diff options
Diffstat (limited to 'color.c')
-rw-r--r-- | color.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -368,6 +368,14 @@ int git_color_config(const char *var, const char *value, void *cb) return 0; } +int git_color_default_config(const char *var, const char *value, void *cb) +{ + if (git_color_config(var, value, cb) < 0) + return -1; + + return git_default_config(var, value, cb); +} + void color_print_strbuf(FILE *fp, const char *color, const struct strbuf *sb) { if (*color) |