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

Function git_system_config

config.c:1496–1503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1494}
1495
1496char *git_system_config(void)
1497{
1498 char *system_config = xstrdup_or_null(getenv("GIT_CONFIG_SYSTEM"));
1499 if (!system_config)
1500 system_config = system_path(ETC_GITCONFIG);
1501 normalize_path_copy(system_config, system_config);
1502 return system_config;
1503}
1504
1505char *git_global_config(void)
1506{

Callers 4

do_git_config_sequenceFunction · 0.85
add_config_scope_argFunction · 0.85
location_options_initFunction · 0.85
git_config_val_systemFunction · 0.85

Calls 3

xstrdup_or_nullFunction · 0.85
system_pathFunction · 0.85
normalize_path_copyFunction · 0.85

Tested by

no test coverage detected