X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=bulk-checkin.c;h=39ee7d6107c15f3e5e439992bea8a8f3413aae05;hb=7af01f23678dbaeed37773e37737f2ef3db1cb49;hp=409ecb566b3c863e453d10650d1bb21955e2dee3;hpb=5ad3550f026d7ea1b96e699fdf072b642e8a4b8b;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 */