| 2332 | } |
| 2333 | |
| 2334 | void repo_config(struct repository *repo, config_fn_t fn, void *data) |
| 2335 | { |
| 2336 | if (!repo) { |
| 2337 | read_very_early_config(fn, data); |
| 2338 | return; |
| 2339 | } |
| 2340 | git_config_check_init(repo); |
| 2341 | configset_iter(repo->config, fn, data); |
| 2342 | } |
| 2343 | |
| 2344 | int repo_config_get(struct repository *repo, const char *key) |
| 2345 | { |