diff --git a/remote-curl.c b/remote-curl.c
index b780ba5ca8c713b7231835df8a63e452b41a0598..48c20b86f3cfc6c189972718046a6890aaefacf3 100644 (file)
--- a/remote-curl.c
+++ b/remote-curl.c
if (start_async(&async))
die("cannot start thread to parse advertised refs");
if (start_async(&async))
die("cannot start thread to parse advertised refs");
- get_remote_heads(async.out, &list, 0, NULL,
+ get_remote_heads(async.out, &list,
for_push ? REF_NORMAL : 0, NULL);
close(async.out);
if (finish_async(&async))
for_push ? REF_NORMAL : 0, NULL);
close(async.out);
if (finish_async(&async))
url = strbuf_detach(&buf, NULL);
url = strbuf_detach(&buf, NULL);
- http_init(remote, url);
+ http_init(remote, url, 0);
do {
if (strbuf_getline(&buf, stdin, '\n') == EOF) {
do {
if (strbuf_getline(&buf, stdin, '\n') == EOF) {