Merge branch 'mk/diff-delta-uint-may-be-shorter-than-ulong'
[gitweb.git] / builtin / remote.c
index 33ba73933271b51986112107b97b4846e4a913b0..4f5cac96b0f5e0044ddf0fd1e2ea686f694d62ca 100644 (file)
@@ -558,14 +558,13 @@ static int read_remote_branches(const char *refname,
        struct strbuf buf = STRBUF_INIT;
        struct string_list_item *item;
        int flag;
-       struct object_id orig_oid;
        const char *symref;
 
        strbuf_addf(&buf, "refs/remotes/%s/", rename->old);
        if (starts_with(refname, buf.buf)) {
                item = string_list_append(rename->remote_branches, xstrdup(refname));
                symref = resolve_ref_unsafe(refname, RESOLVE_REF_READING,
-                                           orig_oid.hash, &flag);
+                                           NULL, &flag);
                if (flag & REF_ISSYMREF)
                        item->util = xstrdup(symref);
                else