From: Junio C Hamano Date: Wed, 07 Dec 2022 01:17:02 GMT Subject: Re: [PATCH v2 3/3] commit: don't lazy-fetch commits Message-ID: In-Reply-To: Jonathan Tan 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.