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

Function git_config_from_blob_ref

config.c:1483–1494  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1481}
1482
1483static int git_config_from_blob_ref(config_fn_t fn,
1484 struct repository *repo,
1485 const char *name,
1486 void *data,
1487 enum config_scope scope)
1488{
1489 struct object_id oid;
1490
1491 if (repo_get_oid(repo, name, &oid) < 0)
1492 return error(_("unable to resolve config blob '%s'"), name);
1493 return git_config_from_blob_oid(fn, name, repo, &oid, data, scope);
1494}
1495
1496char *git_system_config(void)
1497{

Callers 1

config_with_optionsFunction · 0.85

Calls 3

repo_get_oidFunction · 0.85
errorFunction · 0.85
git_config_from_blob_oidFunction · 0.85

Tested by

no test coverage detected