X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=http-push.c;h=5cecef434a7740a3f853462978c3e071b4da7e74;hb=6e13921b4f7adcc7316a76c0c4955b85b1589a65;hp=42f4d78e54edbb73d14952f5fb3992f2cebb40ae;hpb=5c283eb13c94be6ca974aa722159dc9838d10d97;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,