MCPcopy Index your code
hub / github.com/git/git / repo_config_get_string

Function repo_config_get_string

config.c:2371–2380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2369}
2370
2371int 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
2382int repo_config_get_string_tmp(struct repository *repo,
2383 const char *key, const char **dest)

Callers 15

repo_config_get_expiryFunction · 0.85
fetch_pack_configFunction · 0.85
merge_recursive_configFunction · 0.85
credential_getpassFunction · 0.85
get_protocol_configFunction · 0.85
is_tree_submodule_activeFunction · 0.85
read_mailmapFunction · 0.85
default_notes_refFunction · 0.85
sequencer_make_scriptFunction · 0.85
format_tracking_infoFunction · 0.85
repo_default_branch_nameFunction · 0.85
fields_from_configFunction · 0.85

Calls 3

git_config_check_initFunction · 0.85
git_configset_get_stringFunction · 0.85
git_die_configFunction · 0.85

Tested by

no test coverage detected