Merge branch 'sg/doc-show-branch-typofix'
[gitweb.git] / commit-reach.c
index 67e1792b5c0f5d4d83794348941b66f77874f1ee..9f79ce0a22946174376d247127027e4a0ad3c1e9 100644 (file)
@@ -426,7 +426,7 @@ struct contains_stack {
 static int in_commit_list(const struct commit_list *want, struct commit *c)
 {
        for (; want; want = want->next)
-               if (!oidcmp(&want->item->object.oid, &c->object.oid))
+               if (oideq(&want->item->object.oid, &c->object.oid))
                        return 1;
        return 0;
 }