diff options
Diffstat (limited to 'commit-reach.c')
-rw-r--r-- | commit-reach.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commit-reach.c b/commit-reach.c index 67e1792..9f79ce0 100644 --- a/commit-reach.c +++ b/commit-reach.c @@ -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; } |