X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-push.c;h=cdfdd4f79199261b2a62012381728d676484e424;hb=dbdc07fcbe3a951df8a3869b42edb6fffd466486;hp=5d01be93440cdb343379fe0b05ff9155727f125c;hpb=5a4fcc28e116f769abf94a0acc558fd37a44bcfb;p=git.git diff --git a/http-push.c b/http-push.c index 5d01be934..cdfdd4f79 100644 --- a/http-push.c +++ b/http-push.c @@ -1820,7 +1820,7 @@ int main(int argc, char **argv) memset(remote_dir_exists, -1, 256); - http_init(NULL, repo->url); + http_init(NULL, repo->url, 1); #ifdef USE_CURL_MULTI is_running_queue = 0; @@ -1869,8 +1869,8 @@ int main(int argc, char **argv) } /* match them up */ - if (match_refs(local_refs, &remote_refs, - nr_refspec, (const char **) refspec, push_all)) { + if (match_push_refs(local_refs, &remote_refs, + nr_refspec, (const char **) refspec, push_all)) { rc = -1; goto cleanup; }