| 940 | } |
| 941 | |
| 942 | int remote_has_url(struct remote *remote, const char *url) |
| 943 | { |
| 944 | int i; |
| 945 | for (i = 0; i < remote->url.nr; i++) { |
| 946 | if (!strcmp(remote->url.v[i], url)) |
| 947 | return 1; |
| 948 | } |
| 949 | return 0; |
| 950 | } |
| 951 | |
| 952 | struct strvec *push_url_of_remote(struct remote *remote) |
| 953 | { |
no outgoing calls
no test coverage detected