]> git.99rst.org Git - git.git/commit
pack-bitmap.c: read pseudo-merge extension
authorTaylor Blau <redacted>
Thu, 23 May 2024 21:26:55 +0000 (17:26 -0400)
committerJunio C Hamano <redacted>
Fri, 24 May 2024 18:40:43 +0000 (11:40 -0700)
commit7c0fae88442824cfb4a3160d61a00c54287d56a7
tree4e5143cd424b81d2af184a61ef78c13ae530810d
parent0f81b9cb2c5984ae1b090eb79d139e0a7d9ad8df
pack-bitmap.c: read pseudo-merge extension

Now that the scaffolding for reading the pseudo-merge extension has been
laid, teach the pack-bitmap machinery to read the pseudo-merge extension
when present.

Note that pseudo-merges themselves are not yet used during traversal,
this step will be taken by a future commit.

In the meantime, read the table and initialize the pseudo_merge_map
structure introduced by a previous commit. When the pseudo-merge
extension is present, `load_bitmap_header()` performs basic sanity
checks to make sure that the table is well-formed.

Signed-off-by: Taylor Blau <redacted>
Signed-off-by: Junio C Hamano <redacted>
pack-bitmap.c
git clone https://git.99rst.org/PROJECT