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

Function repo_config_get_pathname

config.c:2435–2444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2433}
2434
2435int repo_config_get_pathname(struct repository *repo,
2436 const char *key, char **dest)
2437{
2438 int ret;
2439 git_config_check_init(repo);
2440 ret = git_configset_get_pathname(repo->config, key, dest);
2441 if (ret < 0)
2442 git_die_config(repo, key, NULL);
2443 return ret;
2444}
2445
2446/* Read values into protected_config. */
2447static void read_protected_config(void)

Callers 3

read_mailmapFunction · 0.85

Calls 3

git_config_check_initFunction · 0.85
git_die_configFunction · 0.85

Tested by

no test coverage detected