MCPcopy Index your code
hub / github.com/git/git / parse_diff_color_slot

Function parse_diff_color_slot

diff.c:134–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132define_list_config_array_extra(color_diff_slots, {"plain"});
133
134static int parse_diff_color_slot(const char *var)
135{
136 if (!strcasecmp(var, "plain"))
137 return DIFF_CONTEXT;
138 return LOOKUP_CONFIG(color_diff_slots, var);
139}
140
141static int parse_dirstat_params(struct diff_options *options, const char *params_string,
142 struct strbuf *errmsg)

Callers 1

git_diff_basic_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected