Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
convert "oidcmp() != 0" to "!oideq()"
[gitweb.git]
/
bisect.c
diff --git
a/bisect.c
b/bisect.c
index 41c56a665ec5c228f21f8d14ae27c43314f5d6fb..7c1d8f1a6dbb6f08b003ad858889c4d59e204923 100644
(file)
--- a/
bisect.c
+++ b/
bisect.c
@@
-595,7
+595,7
@@
static struct commit_list *skip_away(struct commit_list *list, int count)
for (i = 0; cur; cur = cur->next, i++) {
if (i == index) {
- if (
oidcmp
(&cur->item->object.oid, current_bad_oid))
+ if (
!oideq
(&cur->item->object.oid, current_bad_oid))
return cur;
if (previous)
return previous;