Re: [PATCH 2/2] fetch-pack: do not check links for partial fetch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 15, 2018, 17:15 UTC
- Message-ID
- <xmqqo9jp5kgv.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20180314152429.df14adfb49b028e2e2a9001a@google.com>
Jonathan Tan <jonathantanmy@google.com> writes:
> Our only definition (currently) for the "partial" fetch boundary is > whether an object in a promisor packfile (a packfile obtained from the > promisor remote) references it, so I think that checking for crossing a > "partial" fetch boundary does not add anything.
Ah, that's a perfect answer. When we find a link that leads to a missing object in a pack after receiving it from a remote repository that gives us promises, the missing object must be available from the remote repository by definition. Makes perfect sense ;-)
Thanks.