]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/pull.c
convert "oidcmp() != 0" to "!oideq()"
[thirdparty/git.git] / builtin / pull.c
index a720f58a969dc5c9b3dbed9ef37878498fbbc677..09b02695de682bf41bcbe3ef51c1179b69e105de 100644 (file)
@@ -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.
                 *