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

Function add_pushurl

remote.c:83–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83static void add_pushurl(struct remote *remote, const char *pushurl)
84{
85 if (*pushurl)
86 strvec_push(&remote->pushurl, pushurl);
87 else
88 strvec_clear(&remote->pushurl);
89}
90
91static void add_pushurl_alias(struct remote_state *remote_state,
92 struct remote *remote, const char *url)

Callers 2

add_pushurl_aliasFunction · 0.85
handle_configFunction · 0.85

Calls 2

strvec_pushFunction · 0.85
strvec_clearFunction · 0.85

Tested by

no test coverage detected