]> git.ipfire.org Git - thirdparty/git.git/commit
reftable/writer: handle allocation failures in `writer_index_hash()`
authorPatrick Steinhardt <ps@pks.im>
Wed, 2 Oct 2024 10:55:45 +0000 (12:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Oct 2024 14:53:52 +0000 (07:53 -0700)
commitb680af2dba27f851d3cea2000094a1dc42f38cd2
tree349c4e5d81fe25ccaedb73d133f6429fe10847d0
parent31f5b972e0231d4211987775dd58e67815734989
reftable/writer: handle allocation failures in `writer_index_hash()`

Handle allocation errors in `writer_index_hash()`. Adjust its only
caller in `reftable_writer_add_ref()` accordingly.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/writer.c