diff options
Diffstat (limited to 'builtin-log.c')
-rw-r--r-- | builtin-log.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/builtin-log.c b/builtin-log.c index 80a01f8d44..9d046b2e03 100644 --- a/builtin-log.c +++ b/builtin-log.c @@ -485,6 +485,13 @@ static int git_format_config(const char *var, const char *value) fmt_patch_suffix = xstrdup(value); return 0; } + if (!strcmp(var, "format.cc")) { + if (!value) + return config_error_nonbool(var); + ALLOC_GROW(extra_cc, extra_cc_nr + 1, extra_cc_alloc); + extra_cc[extra_cc_nr++] = xstrdup(value); + return 0; + } if (!strcmp(var, "diff.color") || !strcmp(var, "color.diff")) { return 0; } |