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

Function read_very_early_config

config.c:1705–1716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1703}
1704
1705void read_very_early_config(config_fn_t cb, void *data)
1706{
1707 struct config_options opts = { 0 };
1708
1709 opts.respect_includes = 1;
1710 opts.ignore_repo = 1;
1711 opts.ignore_worktree = 1;
1712 opts.ignore_cmdline = 1;
1713 opts.system_gently = 1;
1714
1715 config_with_options(cb, data, NULL, NULL, &opts);
1716}
1717
1718RESULT_MUST_BE_USED
1719static int configset_find_element(struct config_set *set, const char *key,

Callers 2

repo_configFunction · 0.85
tr2_sysenv_loadFunction · 0.85

Calls 1

config_with_optionsFunction · 0.85

Tested by

no test coverage detected