]> git.ipfire.org Git - thirdparty/git.git/blobdiff - bulk-checkin.c
sha1-file: split OBJECT_INFO_FOR_PREFETCH
[thirdparty/git.git] / bulk-checkin.c
index 409ecb566b3c863e453d10650d1bb21955e2dee3..39ee7d6107c15f3e5e439992bea8a8f3413aae05 100644 (file)
@@ -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 */