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

Function parse_funcname

userdiff.c:430–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428}
429
430static int parse_funcname(struct userdiff_funcname *f, const char *k,
431 const char *v, int cflags)
432{
433 f->pattern = NULL;
434 FREE_AND_NULL(f->pattern_owned);
435 if (git_config_string(&f->pattern_owned, k, v) < 0)
436 return -1;
437 f->pattern = f->pattern_owned;
438 f->cflags = cflags;
439 return 0;
440}
441
442static int parse_tristate(int *b, const char *k, const char *v)
443{

Callers 1

userdiff_configFunction · 0.85

Calls 1

git_config_stringFunction · 0.85

Tested by

no test coverage detected