Re: [PATCH v3] pack-objects: handle missing promisor objects
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 26, 2026, 01:10 UTC
- Message-ID
- <xmqqpkvsv1mi.fsf@gitster.g>
- In-Reply-To
- <pull.2333.v3.git.1795648282594.gitgitgadget@gmail.com>
"Alessio Attilio via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 23 quoted lines
> From: Alessio Attilio <attilio.alessio@protonmail.com> > > Objects missing from a partial clone are expected to be absent. > When checking whether an object is in a promisor pack, do not BUG() > if its object info cannot be read. Such an object cannot be included > in the pack, so skip it. > > Pass OBJECT_INFO_SKIP_FETCH_OBJECT explicitly so the lookup does not > trigger a lazy fetch. > > Test filtered --unshallow and --deepen fetches, as well as a subsequent > fetch that repacks links to promisor commits with missing trees. > > Signed-off-by: Alessio Attilio <attilio.alessio@protonmail.com> > --- > pack-objects: handle missing promisor objects > > Changes since v1: > > * Pass OBJECT_INFO_SKIP_FETCH_OBJECT explicitly to avoid lazy fetching > during the lookup. > * Cover filtered --unshallow and --deepen fetches, and a later fetch > after unshallowing a filtered clone.
Here is what Documentation/SubmittingPatches::[[patch-flow]] says:
It is often beneficial to allow some time for reviewers to provide
feedback before sending a new version, rather than sending an updated
series immediately after receiving a review. This helps collect broader
input, gives reviewers in different time zones a fair chance to comment,
and avoids unnecessary churn from many rapid iterations. Waiting also
encourages you to polish each version before sending it, so reviewers
can focus on substantial issues rather than typos or other small
mistakes.It is not considered good manners to send a new iteration before first finishing the discussion on the reviews you received on your previous iteration. You respond to reviews, saying "I will fix this point", "I think this one is fine as-is because...", and so forth, wait for responses to your response, and eventually come to an agreement with those in the discussion, so both sides know what the next iteration should look like before you start working on it.
Only after finishing all of that do you prepare and send a new iteration.
Thanks.