Jonathan Tan <jonathantanmy@xxxxxxxxxx> writes: > + /* > + * Git does not support partial clones that exclude commits, so set > + * OBJECT_INFO_SKIP_FETCH_OBJECT to fail fast when an object is missing. > + */ > + int flags = OBJECT_INFO_LOOKUP_REPLACE | OBJECT_INFO_SKIP_FETCH_OBJECT | > + OBJECT_INFO_DIE_IF_CORRUPT; That's a quite helpful comment.