| 2369 | } |
| 2370 | |
| 2371 | int repo_config_get_string(struct repository *repo, |
| 2372 | const char *key, char **dest) |
| 2373 | { |
| 2374 | int ret; |
| 2375 | git_config_check_init(repo); |
| 2376 | ret = git_configset_get_string(repo->config, key, dest); |
| 2377 | if (ret < 0) |
| 2378 | git_die_config(repo, key, NULL); |
| 2379 | return ret; |
| 2380 | } |
| 2381 | |
| 2382 | int repo_config_get_string_tmp(struct repository *repo, |
| 2383 | const char *key, const char **dest) |
no test coverage detected