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

Function hide_refs_config

revision.c:1590–1598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1588};
1589
1590static 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
1600void exclude_hidden_refs(struct ref_exclusions *exclusions, const char *section)
1601{

Callers

nothing calls this directly

Calls 1

parse_hide_refs_configFunction · 0.85

Tested by

no test coverage detected