| 1588 | }; |
| 1589 | |
| 1590 | static int hide_refs_config(const char *var, const char *value, |
| 1591 | const struct config_context *ctx UNUSED, |
| 1592 | void *cb_data) |
| 1593 | { |
| 1594 | struct exclude_hidden_refs_cb *cb = cb_data; |
| 1595 | cb->exclusions->hidden_refs_configured = 1; |
| 1596 | return parse_hide_refs_config(var, value, cb->section, |
| 1597 | &cb->exclusions->hidden_refs); |
| 1598 | } |
| 1599 | |
| 1600 | void exclude_hidden_refs(struct ref_exclusions *exclusions, const char *section) |
| 1601 | { |
nothing calls this directly
no test coverage detected