diff --git a/builtin/index-pack.c b/builtin/index-pack.c index 6648f2daef..46a61b7cba 100644 --- a/builtin/index-pack.c +++ b/builtin/index-pack.c @@ -801,7 +801,7 @@ static void sha1_object(const void *data, struct object_entry *obj_entry, if (startup_info->have_repository) { read_lock(); collision_test_needed = - has_object_file_with_flags(oid, OBJECT_INFO_QUICK); + has_object_file_with_flags(oid, OBJECT_INFO_FOR_PREFETCH); read_unlock(); }