refs: convert dwim_log to struct object_id
[gitweb.git] / builtin / remote.c
index 4f5cac96b0f5e0044ddf0fd1e2ea686f694d62ca..0fddc64461ac59f5a13aace04a248c84cffabadf 100644 (file)
@@ -690,7 +690,7 @@ static int mv(int argc, const char **argv)
                int flag = 0;
                struct object_id oid;
 
-               read_ref_full(item->string, RESOLVE_REF_READING, oid.hash, &flag);
+               read_ref_full(item->string, RESOLVE_REF_READING, &oid, &flag);
                if (!(flag & REF_ISSYMREF))
                        continue;
                if (delete_ref(NULL, item->string, NULL, REF_NODEREF))