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

Function apply_refspecs

refspec.c:486–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486char *apply_refspecs(struct refspec *rs, const char *name)
487{
488 struct refspec_item query;
489
490 memset(&query, 0, sizeof(struct refspec_item));
491 query.src = (char *)name;
492
493 if (refspec_find_match(rs, &query))
494 return NULL;
495
496 return query.dst;
497}

Callers 8

remote_ref_for_branchFunction · 0.85
tracking_for_push_destFunction · 0.85
branch_get_push_1Function · 0.85
remote_trackingFunction · 0.85
fetch_with_importFunction · 0.85
push_update_refs_statusFunction · 0.85
push_refs_with_exportFunction · 0.85
get_tags_and_duplicatesFunction · 0.85

Calls 1

refspec_find_matchFunction · 0.85

Tested by

no test coverage detected