refs: convert reflog_expire parameter to struct object_id
[gitweb.git] / notes-merge.c
index 4352c34a6ee50f907f2d03e7d0ed1a596345a5d3..30ec83ab043965a743918b4ee39c708a3fb3e717 100644 (file)
@@ -547,7 +547,7 @@ int notes_merge(struct notes_merge_options *o,
               o->local_ref, o->remote_ref);
 
        /* Dereference o->local_ref into local_sha1 */
-       if (read_ref_full(o->local_ref, 0, local_oid.hash, NULL))
+       if (read_ref_full(o->local_ref, 0, &local_oid, NULL))
                die("Failed to resolve local notes ref '%s'", o->local_ref);
        else if (!check_refname_format(o->local_ref, 0) &&
                is_null_oid(&local_oid))