Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t7502: rename commit test script to comply with naming convention
[gitweb.git]
/
commit-reach.c
diff --git
a/commit-reach.c
b/commit-reach.c
index 67e1792b5c0f5d4d83794348941b66f77874f1ee..9f79ce0a22946174376d247127027e4a0ad3c1e9 100644
(file)
--- 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;
}