]> git.ipfire.org Git - thirdparty/git.git/blobdiff - match-trees.c
tree-walk: store object_id in a separate member
[thirdparty/git.git] / match-trees.c
index c2b7329e0988e27bd4c121212a9f8c1011295021..18ab825bef57f3ea63f70adf9a5c4e4a4f000bc4 100644 (file)
@@ -106,7 +106,7 @@ static int score_trees(const struct object_id *hash1, const struct object_id *ha
                        update_tree_entry(&two);
                } else {
                        /* path appears in both */
-                       if (!oideq(one.entry.oid, two.entry.oid)) {
+                       if (!oideq(&one.entry.oid, &two.entry.oid)) {
                                /* they are different */
                                score += score_differs(one.entry.mode,
                                                       two.entry.mode,