X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=bulk-checkin.c;h=409ecb566b3c863e453d10650d1bb21955e2dee3;hb=33de80b1d50773f79e380eff33b4fc5c8ae1dd25;hp=9f3b644811cd79b2c93ebf1dcebd711640c18419;hpb=1bf5d99b12faad5c895e4807ee6485acddc453c3;p=thirdparty%2Fgit.git diff --git a/bulk-checkin.c b/bulk-checkin.c index 9f3b644811..409ecb566b 100644 --- a/bulk-checkin.c +++ b/bulk-checkin.c @@ -72,7 +72,7 @@ static int already_written(struct bulk_checkin_state *state, struct object_id *o /* Might want to keep the list sorted */ for (i = 0; i < state->nr_written; i++) - if (!oidcmp(&state->written[i]->oid, oid)) + if (oideq(&state->written[i]->oid, oid)) return 1; /* This is a new object we need to keep */