diff options
Diffstat (limited to 'match-trees.c')
-rw-r--r-- | match-trees.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/match-trees.c b/match-trees.c index c2b7329e09..18ab825bef 100644 --- a/match-trees.c +++ b/match-trees.c @@ -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, |