| 440 | } |
| 441 | |
| 442 | static 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 | |
| 451 | static int parse_bool(int *b, const char *k, const char *v) |
| 452 | { |
no test coverage detected