chunk-format: introduce `pair_chunk_expect()`
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | chunk-format: introduce `pair_chunk_expect()` helperchunk-format.c chunk-format.h | +41 | 12 replies | |
| 2/7 | commit-graph: read `OIDL` chunk with `pair_chunk_expect()`commit-graph.c t/ | +5 | 1 reply | |
| 3/7 | commit-graph: read `CDAT` chunk with `pair_chunk_expect()`commit-graph.c t/ | +4 | 0 replies | |
| 4/7 | commit-graph: read `GDAT` chunk with `pair_chunk_expect()`commit-graph.c | +5 | 0 replies | |
| 5/7 | commit-graph: read `BIDX` chunk with `pair_chunk_expect()`commit-graph.c | +5 | 0 replies | |
| 6/7 | midx: read `OIDL` chunk with `pair_chunk_expect()`midx.c t/ | +2 | 0 replies | |
| 7/7 | midx: read `OOFF` chunk with `pair_chunk_expect()`midx.c t/ | +3 | 0 replies |
Reviews trailers per patch
None of the 7 patches has a Reviewed-by or Acked-by.
| Patch | Jeff King |
|---|---|
| 1/7 | Helped-by |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] chunk-format: introduce `pair_chunk_expect()`
This series is based on the latest patches in what I am assuming will become "jk/chunk-bounds", found here [1].
This is a rework of my earlier round of patches in [2], which introduces a new pair_chunk_expect() to replace some of the trivial callbacks given to read_chunk() that assert on the size of the expected chunk.
Let me know what you think, and thanks in advance for your review!
[1]: https://lore.kernel.org/git/[email protected]/
[2]: https://lore.kernel.org/git/[email protected]/
Taylor Blau (7):
chunk-format: introduce pair_chunk_expect() helper
commit-graph: read OIDL chunk with pair_chunk_expect()
commit-graph: read CDAT chunk with pair_chunk_expect()
commit-graph: read GDAT chunk with pair_chunk_expect()
commit-graph: read BIDX chunk with pair_chunk_expect()
midx: read OIDL chunk with pair_chunk_expect()
midx: read OOFF chunk with pair_chunk_expect()
chunk-format.c | 29 ++++++++++++++++ chunk-format.h | 13 ++++++- commit-graph.c | 67 ++++++++++--------------------------- midx.c | 33 +++--------------- t/t5318-commit-graph.sh | 6 ++-- t/t5319-multi-pack-index.sh | 2 -- 6 files changed, 65 insertions(+), 85 deletions(-)
base-commit: 8be77c5de65442b331a28d63802c7a3b94a06c5a
prerequisite-patch-id: 507f1dfd74fae351883612048d334ed750db8b8c
prerequisite-patch-id: c5eef290abc1d28950b3ee8729ea86d2e1773027
prerequisite-patch-id: 0853baab4862833faee8ade3b1b63ee3aa406224
prerequisite-patch-id: 6dd32f90fd87aa92f7d0661414cdaab257bd14b7
prerequisite-patch-id: b0e1617c501a011c703605e59dd5eba89f8a3573
prerequisite-patch-id: 906426f565c470dc86d7e7379d25ecfbd2bc30ce
prerequisite-patch-id: 970cd79d1911bde36b88c340f001266d7e8d843b
prerequisite-patch-id: 083a24abc73a83345bd9e4ca714577990dd9b08b
prerequisite-patch-id: 210371a338dfe9b6f905d8821501aa9c235c8722
Signature · 1 line
2.43.0.rc0.39.g44bd344727