]> git.ipfire.org Git - thirdparty/git.git/commit
pack-bitmap: remember pseudo-merge parents
authorTaylor Blau <me@ttaylorr.com>
Wed, 27 May 2026 19:56:08 +0000 (15:56 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 May 2026 20:23:01 +0000 (05:23 +0900)
commitb04d26607de35b88cf9c62ca11931d4f8cc4ac05
tree4fc82d37ff7446b6b08d26511cf5881a30fb135d
parentdcccd997462e2130bcc35f933285ff087454275e
pack-bitmap: remember pseudo-merge parents

write_pseudo_merges() currently builds an array of temporary bitmaps for
the parent set of each pseudo-merge, then serializes those bitmaps later
while writing the extension.

Move those parent bitmaps onto the corresponding bitmapped_commit
entries instead. This keeps the on-disk output unchanged, but gives the
parent bitmap the same lifetime and access pattern that later changes
will use when pseudo-merge object bitmaps are built before the write
step.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap-write.c