diff --git a/http-push.c b/http-push.c
index 5d01be93440cdb343379fe0b05ff9155727f125c..cdfdd4f79199261b2a62012381728d676484e424 100644 (file)
--- a/http-push.c
+++ b/http-push.c
memset(remote_dir_exists, -1, 256);
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;
#ifdef USE_CURL_MULTI
is_running_queue = 0;
}
/* match them up */
}
/* 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;
}
rc = -1;
goto cleanup;
}