MCPcopy Index your code
hub / github.com/git/git / refspec_item_clear

Function refspec_item_clear

refspec.c:174–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174void refspec_item_clear(struct refspec_item *item)
175{
176 FREE_AND_NULL(item->src);
177 FREE_AND_NULL(item->dst);
178 FREE_AND_NULL(item->raw);
179 item->force = 0;
180 item->pattern = 0;
181 item->matching = 0;
182 item->exact_sha1 = 0;
183}
184
185void refspec_init_fetch(struct refspec *rs)
186{

Callers 6

refspec_clearFunction · 0.85
valid_fetch_refspecFunction · 0.85
merge_clearFunction · 0.85
filter_prefetch_refspecFunction · 0.85
get_ref_mapFunction · 0.85
get_tracking_branchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected