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

Function clear_ref_exclusions

revision.c:1573–1578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1571}
1572
1573void clear_ref_exclusions(struct ref_exclusions *exclusions)
1574{
1575 string_list_clear(&exclusions->excluded_refs, 0);
1576 strvec_clear(&exclusions->hidden_refs);
1577 exclusions->hidden_refs_configured = 0;
1578}
1579
1580void add_ref_exclusion(struct ref_exclusions *exclusions, const char *exclude)
1581{

Callers 5

pack_refs_coreFunction · 0.85
pack_refs_conditionFunction · 0.85
handle_ref_optFunction · 0.85
cmd_rev_parseFunction · 0.85

Calls 2

string_list_clearFunction · 0.85
strvec_clearFunction · 0.85

Tested by

no test coverage detected