X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;ds=sidebyside;f=bulk-checkin.c;h=39ee7d6107c15f3e5e439992bea8a8f3413aae05;hb=31f5256c82a36edea3ea2f91e5171e3472878915;hp=409ecb566b3c863e453d10650d1bb21955e2dee3;hpb=61c51acf7d2e01b968745aaa53de877135be28ec;p=thirdparty%2Fgit.git diff --git a/bulk-checkin.c b/bulk-checkin.c index 409ecb566b..39ee7d6107 100644 --- a/bulk-checkin.c +++ b/bulk-checkin.c @@ -67,7 +67,7 @@ static int already_written(struct bulk_checkin_state *state, struct object_id *o int i; /* The object may already exist in the repository */ - if (has_sha1_file(oid->hash)) + if (has_object_file(oid)) return 1; /* Might want to keep the list sorted */