Merge branch 'jk/oideq-hasheq-cleanup'
Code clean-up. * jk/oideq-hasheq-cleanup: more oideq/hasheq conversions
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user