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
/
pull.c
diff --git
a/builtin/pull.c
b/builtin/pull.c
index a720f58a969dc5c9b3dbed9ef37878498fbbc677..09b02695de682bf41bcbe3ef51c1179b69e105de 100644
(file)
--- a/
builtin/pull.c
+++ b/
builtin/pull.c
@@
-902,7
+902,7
@@
int cmd_pull(int argc, const char **argv, const char *prefix)
oidclr(&curr_head);
if (!is_null_oid(&orig_head) && !is_null_oid(&curr_head) &&
-
oidcmp
(&orig_head, &curr_head)) {
+
!oideq
(&orig_head, &curr_head)) {
/*
* The fetch involved updating the current branch.
*