summaryrefslogtreecommitdiff
path: root/gitweb/gitweb.css
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2026-08-12 08:03:11 +0000
committerJunio C Hamano <gitster@pobox.com>2026-08-12 09:05:49 -0700
commit47568fee949526145bc2a87cd253d8df48b61efc (patch)
tree4edcf1b6bedf861b9e650fa29ce54da014cfbea9 /gitweb/gitweb.css
parent633ac346eef2bd7f8b6e699f0298e87c2b8ed106 (diff)
reftable: handle block-writer initialization errors
2d5dbb37b284 (reftable/block: handle allocation failures, 2024-10-02) taught `writer_reinit_block_writer()` to report initialization failures and updated its callers, but `reftable_writer_new()` continued to ignore the return value. Consequently, the constructor could report success after block-writer initialization had failed. Propagate the error and release the constructor's allocations instead of returning an unusable writer. Pointed out by GPT-5.6 Sol and Claude Opus 4.8. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.css')
0 files changed, 0 insertions, 0 deletions