Merge branch 'bw/protocol-v2'
[gitweb.git] / transport.c
index 06ffea277460d68694aa4700b269601b56dd46ce..1c76d64aba9fac7d62dfc8e95ab2b32f45dd95a5 100644 (file)
@@ -1228,7 +1228,7 @@ int transport_fetch_refs(struct transport *transport, struct ref *refs)
                nr_refs++;
                if (rm->peer_ref &&
                    !is_null_oid(&rm->old_oid) &&
-                   !oidcmp(&rm->peer_ref->old_oid, &rm->old_oid))
+                   oideq(&rm->peer_ref->old_oid, &rm->old_oid))
                        continue;
                ALLOC_GROW(heads, nr_heads + 1, nr_alloc);
                heads[nr_heads++] = rm;