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

Function parse_tristate

userdiff.c:442–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442static int parse_tristate(int *b, const char *k, const char *v)
443{
444 if (v && !strcasecmp(v, "auto"))
445 *b = -1;
446 else
447 *b = git_config_bool(k, v);
448 return 0;
449}
450
451static int parse_bool(int *b, const char *k, const char *v)
452{

Callers 1

userdiff_configFunction · 0.85

Calls 1

git_config_boolFunction · 0.85

Tested by

no test coverage detected