git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] pack-bitmap.c: ensure pack validity for all reuse packs

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 19, 2024, 01:16 UTC
Message-ID
<xmqqplloo4jw.fsf@gitster.g>
In-Reply-To
<Z2NfhDOJOOUdK2Xk@nand.local>
Taylor Blau <me@ttaylorr.com> writes:
> IOW, we no longer need to check the validity of the preferred pack in
> either case. But in an incremental MIDX bitmaps world, we do need to
> keep calling prepare_midx_bitmap_git() along the MIDX's ->base pointer,
> if non-NULL.
Thanks.
Show 11 quoted lines
>> I wonder what we can do better to make sure the work a contributor has
>> already done (in this case, resolve interaction between two topics) is
>> not wasted and recreated (possibly incorrectly) by the maintainer.
>
> I am not sure. During the interim maintainer period, Patrick sent a
> couple of rounds of ps/build with a final patch to the effect of
> "unbreak everything in seen", which could be dropped.
>
> But I think an easier thing to do would have been for myself to indicate
> that you'd run into a non-trivial conflict here and provide the
> resolution proactively.

A trick used by recent series from Patrick say things like "this is based on X, with Y and Z merged". This patch could have done the same way. It of course makes two topics entangled and one takes the other hostage, so we need to carefully judge if such a dependency is worth it. So far, I found Patrick's judgement on the choice of dependencies quite solid (essentially, Y and Z must be cooked enough at least for 'next', and can reasonably be expected to graduate while we iterate on the new topic that is being built).

Thanks.
Previous: Taylor BlauNext: Taylor Blau
Message 5 of 6 in “pack-bitmap.c: ensure pack validity for all reuse packs”
  1. pack-bitmap.c: ensure pack validity for all reuse packsTaylor Blau, Dec 13, 2024
  2. Jeff KingDec 18, 2024
  3. Junio C HamanoDec 18, 2024
  4. Taylor BlauDec 18, 2024
  5. Junio C HamanoDec 19, 2024
  6. Taylor BlauDec 19, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.