pass config slots as pointers instead of offsets
[gitweb.git] / builtin / log.c
index 4389722b4b1edffce8cd2a63dae52277e022ac99..4c5fc4bff5b955f712024a935b8b804fd7d5e363 100644 (file)
@@ -389,7 +389,7 @@ static int git_log_config(const char *var, const char *value, void *cb)
                return 0;
        }
        if (starts_with(var, "color.decorate."))
-               return parse_decorate_color_config(var, 15, value);
+               return parse_decorate_color_config(var, var + 15, value);
        if (!strcmp(var, "log.mailmap")) {
                use_mailmap_config = git_config_bool(var, value);
                return 0;