X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=http-push.c;h=5cecef434a7740a3f853462978c3e071b4da7e74;hb=550806439402877e6dab22cacfc6de8757d18593;hp=42f4d78e54edbb73d14952f5fb3992f2cebb40ae;hpb=d5c527448db30be55553e0b125015e8d444f8dbc;p=git.git diff --git a/http-push.c b/http-push.c index 42f4d78e5..5cecef434 100644 --- a/http-push.c +++ b/http-push.c @@ -1780,7 +1780,7 @@ static void one_remote_ref(char *refname) struct ref *ref; struct object *obj; - ref = alloc_ref_from_str(refname); + ref = alloc_ref(refname); if (http_fetch_ref(remote->url, ref) != 0) { fprintf(stderr, @@ -1887,7 +1887,7 @@ static void add_remote_info_ref(struct remote_ls_ctx *ls) char *ref_info; struct ref *ref; - ref = alloc_ref_from_str(ls->dentry_name); + ref = alloc_ref(ls->dentry_name); if (http_fetch_ref(remote->url, ref) != 0) { fprintf(stderr,