From: Junio C Hamano <gitster@pobox.com>
To: "Alessio Attilio via GitGitGadget" <gitgitgadget@gmail.com>
Cc: git@vger.kernel.org, Alessio Attilio <attilio.alessio@protonmail.com>
Subject: Re: [PATCH v3] pack-objects: handle missing promisor objects
Date: Wed, 25 Nov 2026 17:10:29 -0800 [thread overview]
Message-ID: <xmqqpkvsv1mi.fsf@gitster.g> (raw)
In-Reply-To: <pull.2333.v3.git.1795648282594.gitgitgadget@gmail.com> (Alessio Attilio via GitGitGadget's message of "Wed, 25 Nov 2026 23:11:22 +0000")
"Alessio Attilio via GitGitGadget" <gitgitgadget@gmail.com> writes:
> 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.
next prev parent reply other threads:[~2026-11-26 1:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 19:40 [PATCH] pack-objects: handle missing promisor objects Alessio Attilio via GitGitGadget
2026-11-25 19:49 ` [PATCH v2] " Alessio Attilio via GitGitGadget
2026-11-25 22:47 ` Junio C Hamano
2026-11-25 23:11 ` [PATCH v3] " Alessio Attilio via GitGitGadget
2026-11-26 1:10 ` Junio C Hamano [this message]
2026-11-26 10:48 ` ATTILIO ALESSIO
2026-11-25 23:22 ` [PATCH v4] " Alessio Attilio via GitGitGadget
2026-11-25 23:42 ` [PATCH v5] " Alessio Attilio via GitGitGadget
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqpkvsv1mi.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=attilio.alessio@protonmail.com \
--cc=git@vger.kernel.org \
--cc=gitgitgadget@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox