| 1481 | } |
| 1482 | |
| 1483 | static 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 | |
| 1496 | char *git_system_config(void) |
| 1497 | { |
no test coverage detected