X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=fetch-pack.c;h=75047a4b2a491e805f7c500dc804e78a8538bfa2;hb=9001dc2a7493f1366a183c3a9175f608769321d5;hp=88a078e9befd281cf5f03e9e64615b14ca768a35;hpb=7ae96e3fcfcd4f3d7c18965eb8805554a9e432bc;p=thirdparty%2Fgit.git diff --git a/fetch-pack.c b/fetch-pack.c index 88a078e9be..75047a4b2a 100644 --- a/fetch-pack.c +++ b/fetch-pack.c @@ -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 &