From: Junio C Hamano <hidden> Date: 2023-02-16 01:45:58
Jeff King [off-list ref] writes:
So yeah, this seems like an obvious good fix. Using write_or_die() might
be even better, as it would report errors rather than quietly returning
non-zero.
Maybe. Let me cook up a version with a proposed log message.