summaryrefslogtreecommitdiff
path: root/commit-reach.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-16 16:16:07 +0900
committerJunio C Hamano <gitster@pobox.com>2018-10-16 16:16:08 +0900
commitee56992a8792cd5e67029e71f3c75d7ce662ae6d (patch)
treec98f7be58ae6d56b274225d24732697d15c318ac /commit-reach.c
parent20f28d7cbd6d8599968ac41664c7300945234d7c (diff)
parente43d2dcce1db256e95b90f89e06d62834a1d361c (diff)
downloadgit-ee56992a8792cd5e67029e71f3c75d7ce662ae6d.tar.gz
Merge branch 'jk/oideq-hasheq-cleanup'
Code clean-up. * jk/oideq-hasheq-cleanup: more oideq/hasheq conversions
Diffstat (limited to 'commit-reach.c')
-rw-r--r--commit-reach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit-reach.c b/commit-reach.c
index 67e1792b5c..9f79ce0a22 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;
}