contrib/subtree: Make testing easier
[gitweb.git] / builtin / notes.c
index 515cebbeb8a33eb982a1ddccdc9d69e09beefb1d..52aa9af74be8d47780d4762185c5cbe09624b382 100644 (file)
@@ -707,7 +707,7 @@ static int merge_commit(struct notes_merge_options *o)
                die("Could not parse commit from NOTES_MERGE_PARTIAL.");
 
        if (partial->parents)
-               hashcpy(parent_sha1, partial->parents->item->object.sha1);
+               hashcpy(parent_sha1, partial->parents->item->object.oid.hash);
        else
                hashclr(parent_sha1);