diff options
author | René Scharfe <l.s.r@web.de> | 2023-12-26 09:17:45 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-12-26 11:06:23 -0800 |
commit | 5b7eec4bc517311f9ceb2dc7abadcc47ddc6b015 (patch) | |
tree | 186a83c4ab0bd27e13b9c723ff8e69bc7cc99c1d /commit.h | |
parent | 564d0252ca632e0264ed670534a51d18a689ef5d (diff) |
fast-import: use mem_pool_calloc()
Use mem_pool_calloc() to get a zeroed buffer instead of zeroing it
ourselves. This makes the code clearer and less repetitive.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions