Re: [PATCH v2 3/3] commit: don't lazy-fetch commits
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 7, 2022, 01:17 UTC
- Message-ID
- <xmqqpmcw6mi9.fsf@gitster.g>
- In-Reply-To
- <c5fe42deb04285b85d5354a57e90bf9410cc2420.1670373420.git.jonathantanmy@google.com>
Jonathan Tan <jonathantanmy@google.com> writes:
Show 6 quoted lines
> + /* > + * 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.