MCPcopy Create free account
hub / github.com/git/git / get_colopts

Function get_colopts

help.c:323–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323static int get_colopts(const char *var, const char *value,
324 const struct config_context *ctx UNUSED, void *data)
325{
326 unsigned int *colopts = data;
327
328 if (starts_with(var, "column."))
329 return git_column_config(var, value, "help", colopts);
330
331 return 0;
332}
333
334void list_commands(struct cmdnames *main_cmds, struct cmdnames *other_cmds)
335{

Callers

nothing calls this directly

Calls 2

starts_withFunction · 0.85
git_column_configFunction · 0.85

Tested by

no test coverage detected