diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-09-17 12:08:01 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-09-17 13:53:29 -0700 |
| commit | 7db28d0133a8b828c8d7a829b587711acf81cddc (patch) | |
| tree | 2f91c6249caa9beda24b8e26fc2e887ad191a660 /builtin/commit.c | |
| parent | apply: rename functions operating on `struct image` (diff) | |
| download | git-7db28d0133a8b828c8d7a829b587711acf81cddc.tar.gz git-7db28d0133a8b828c8d7a829b587711acf81cddc.zip | |
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions
