{
struct object *obj = lookup_object_type(sha1, type);
if (has_sha1_file(sha1)) {
{
struct object *obj = lookup_object_type(sha1, type);
if (has_sha1_file(sha1)) {
/* We already have it, so we should scan it now. */
return process_object(obj);
}
/* We already have it, so we should scan it now. */
return process_object(obj);
}