Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
convert "oidcmp() != 0" to "!oideq()"
[gitweb.git]
/
builtin
/
am.c
diff --git
a/builtin/am.c
b/builtin/am.c
index 9f7ecf6ecb7711c35277fa827c4c2afc0dfba867..e54110d4742e19b55a49ab569650d4a9b4511786 100644
(file)
--- a/
builtin/am.c
+++ b/
builtin/am.c
@@
-2077,7
+2077,7
@@
static int safe_to_abort(const struct am_state *state)
if (get_oid("HEAD", &head))
oidclr(&head);
- if (
!oidcmp
(&head, &abort_safety))
+ if (
oideq
(&head, &abort_safety))
return 1;
warning(_("You seem to have moved HEAD since the last 'am' failure.\n"