Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'bc/tree-walk-oid'
[gitweb.git]
/
match-trees.c
diff --git
a/match-trees.c
b/match-trees.c
index c2b7329e0988e27bd4c121212a9f8c1011295021..18ab825bef57f3ea63f70adf9a5c4e4a4f000bc4 100644
(file)
--- 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,