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

Function parse_combine_notes_fn

notes-utils.c:89–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87}
88
89static combine_notes_fn parse_combine_notes_fn(const char *v)
90{
91 if (!strcasecmp(v, "overwrite"))
92 return combine_notes_overwrite;
93 else if (!strcasecmp(v, "ignore"))
94 return combine_notes_ignore;
95 else if (!strcasecmp(v, "concatenate"))
96 return combine_notes_concatenate;
97 else if (!strcasecmp(v, "cat_sort_uniq"))
98 return combine_notes_cat_sort_uniq;
99 else
100 return NULL;
101}
102
103static int notes_rewrite_config(const char *k, const char *v,
104 const struct config_context *ctx UNUSED,

Callers 2

notes_rewrite_configFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected