| 2433 | } |
| 2434 | |
| 2435 | int repo_config_get_pathname(struct repository *repo, |
| 2436 | const char *key, char **dest) |
| 2437 | { |
| 2438 | int ret; |
| 2439 | git_config_check_init(repo); |
| 2440 | ret = git_configset_get_pathname(repo->config, key, dest); |
| 2441 | if (ret < 0) |
| 2442 | git_die_config(repo, key, NULL); |
| 2443 | return ret; |
| 2444 | } |
| 2445 | |
| 2446 | /* Read values into protected_config. */ |
| 2447 | static void read_protected_config(void) |
no test coverage detected