Merge branch 'bc/hash-independent-tests'
[gitweb.git] / revision.c
index 494cc041faba7921781cfa7b35c3bd56e877ec6f..e18bd530e4c50d0f5a1887714b074a6c2c63875b 100644 (file)
@@ -3238,7 +3238,7 @@ static void track_linear(struct rev_info *revs, struct commit *commit)
                struct commit_list *p;
                for (p = revs->previous_parents; p; p = p->next)
                        if (p->item == NULL || /* first commit */
-                           !oidcmp(&p->item->object.oid, &commit->object.oid))
+                           oideq(&p->item->object.oid, &commit->object.oid))
                                break;
                revs->linear = p != NULL;
        }