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

Function add_url

remote.c:75–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75static void add_url(struct remote *remote, const char *url)
76{
77 if (*url)
78 strvec_push(&remote->url, url);
79 else
80 strvec_clear(&remote->url);
81}
82
83static void add_pushurl(struct remote *remote, const char *pushurl)
84{

Callers 2

add_url_aliasFunction · 0.85
handle_configFunction · 0.85

Calls 2

strvec_pushFunction · 0.85
strvec_clearFunction · 0.85

Tested by

no test coverage detected