summaryrefslogtreecommitdiffstats
path: root/commit-reach.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-16 09:16:07 +0200
committerJunio C Hamano <gitster@pobox.com>2018-10-16 09:16:08 +0200
commitee56992a8792cd5e67029e71f3c75d7ce662ae6d (patch)
treec98f7be58ae6d56b274225d24732697d15c318ac /commit-reach.c
parentMerge branch 'ma/mailing-list-address-in-git-help' (diff)
parentmore oideq/hasheq conversions (diff)
downloadgit-ee56992a8792cd5e67029e71f3c75d7ce662ae6d.tar.xz
git-ee56992a8792cd5e67029e71f3c75d7ce662ae6d.zip
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;
}