summaryrefslogtreecommitdiff
path: root/t/unit-tests/t-oid-array.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-09-17 12:08:01 +0200
committerJunio C Hamano <gitster@pobox.com>2024-09-17 13:53:29 -0700
commit7db28d0133a8b828c8d7a829b587711acf81cddc (patch)
tree2f91c6249caa9beda24b8e26fc2e887ad191a660 /t/unit-tests/t-oid-array.c
parent223190377803939ab4255a72482437c178f8fcff (diff)
apply: introduce macro and function to init images
We're about to convert the `struct image` to gain a `struct strbuf` member, which requires more careful initialization than just memsetting it to zeros. Introduce the `IMAGE_INIT` macro and `image_init()` function to prepare for this change. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/t-oid-array.c')
0 files changed, 0 insertions, 0 deletions