upload-pack: make have_obj not global
[gitweb.git] / http-push.c
index 91fdc7e1d5d987203d9df3a6c6a86b917f27b939..1bbb0cdb6d03353fbc145d6ba748a30c9eabcec0 100644 (file)
@@ -1859,7 +1859,7 @@ int cmd_main(int argc, const char **argv)
                        continue;
                }
 
-               if (!oidcmp(&ref->old_oid, &ref->peer_ref->new_oid)) {
+               if (oideq(&ref->old_oid, &ref->peer_ref->new_oid)) {
                        if (push_verbosely)
                                fprintf(stderr, "'%s': up-to-date\n", ref->name);
                        if (helper_status)