MCPcopy Create free account
hub / github.com/git/git / repo_config

Function repo_config

config.c:2334–2342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2332}
2333
2334void 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
2344int repo_config_get(struct repository *repo, const char *key)
2345{

Callers 15

create_default_filesFunction · 0.70
init_dbFunction · 0.70
fetch_pack_configFunction · 0.70
list_commandsFunction · 0.70
write_zip_archiveFunction · 0.70
merge_recursive_configFunction · 0.70
credential_apply_configFunction · 0.70
get_upload_pack_configFunction · 0.70
init_tar_archiverFunction · 0.70
fetch_refs_from_bundleFunction · 0.70
git_use_proxyFunction · 0.70

Calls 3

read_very_early_configFunction · 0.85
git_config_check_initFunction · 0.85
configset_iterFunction · 0.85

Tested by 4

cmd__read_cacheFunction · 0.40
cmd__configFunction · 0.40
cmd__advise_if_enabledFunction · 0.40
cmd__userdiffFunction · 0.40