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

Function repo_config_get_string_tmp

config.c:2382–2391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2380}
2381
2382int repo_config_get_string_tmp(struct repository *repo,
2383 const char *key, const char **dest)
2384{
2385 int ret;
2386 git_config_check_init(repo);
2387 ret = git_configset_get_string_tmp(repo->config, key, dest);
2388 if (ret < 0)
2389 git_die_config(repo, key, NULL);
2390 return ret;
2391}
2392
2393int repo_config_get_int(struct repository *repo,
2394 const char *key, int *dest)

Callers 15

list_cmds_by_configFunction · 0.85
transport_color_configFunction · 0.85
get_ssh_commandFunction · 0.85
override_ssh_variantFunction · 0.85
get_fetch_recurse_configFunction · 0.85
submodule_name_to_gitdirFunction · 0.85
validate_remote_urlFunction · 0.85
unique_tracking_nameFunction · 0.85

Calls 3

git_config_check_initFunction · 0.85
git_die_configFunction · 0.85

Tested by 1

cmd__configFunction · 0.68