subtree: add build targets 'man' and 'html'
[gitweb.git] / fetch-pack.c
index 88a078e9befd281cf5f03e9e64615b14ca768a35..75047a4b2a491e805f7c500dc804e78a8538bfa2 100644 (file)
@@ -599,7 +599,7 @@ static void filter_refs(struct fetch_pack_args *args,
                        continue;
                if (parse_oid_hex(ref->name, &oid, &p) ||
                    *p != '\0' ||
-                   oidcmp(&oid, &ref->old_oid))
+                   !oideq(&oid, &ref->old_oid))
                        continue;
 
                if ((allow_unadvertised_object_request &