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

Function read_protected_config

config.c:2447–2459  ·  view source on GitHub ↗

Read values into protected_config. */

Source from the content-addressed store, hash-verified

2445
2446/* Read values into protected_config. */
2447static void read_protected_config(void)
2448{
2449 struct config_options opts = {
2450 .respect_includes = 1,
2451 .ignore_repo = 1,
2452 .ignore_worktree = 1,
2453 .system_gently = 1,
2454 };
2455
2456 git_configset_init(&protected_config);
2457 config_with_options(config_set_callback, &protected_config, NULL,
2458 NULL, &opts);
2459}
2460
2461void git_protected_config(config_fn_t fn, void *data)
2462{

Callers 1

git_protected_configFunction · 0.85

Calls 2

git_configset_initFunction · 0.85
config_with_optionsFunction · 0.85

Tested by

no test coverage detected