summaryrefslogtreecommitdiff
path: root/commit-reach.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-16 07:16:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-10-16 07:16:08 (GMT)
commitee56992a8792cd5e67029e71f3c75d7ce662ae6d (patch)
treec98f7be58ae6d56b274225d24732697d15c318ac /commit-reach.c
parent20f28d7cbd6d8599968ac41664c7300945234d7c (diff)
parente43d2dcce1db256e95b90f89e06d62834a1d361c (diff)
downloadgit-ee56992a8792cd5e67029e71f3c75d7ce662ae6d.zip
git-ee56992a8792cd5e67029e71f3c75d7ce662ae6d.tar.gz
git-ee56992a8792cd5e67029e71f3c75d7ce662ae6d.tar.bz2
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 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;
}