diff options
author | René Scharfe <l.s.r@web.de> | 2022-12-13 20:35:07 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-12-14 10:29:19 +0900 |
commit | d422d06167af35bbe81026ee75c14eaa6b93127c (patch) | |
tree | c1755c895087c77ad70a8ae1094ad23a04596e12 /diff.c | |
parent | c48035d29b4e524aed3a32f0403676f0d9128863 (diff) |
object-file: inline write_buffer()
write_buffer() reports the OS error if it is unable to write. Its only
caller dies in that case, giving some more context in its last message.
Inline this function and show only a single error message that includes
both the context (writing a loose object file) and the OS error. This
shortens the code and simplifies the output.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff.c')
0 files changed, 0 insertions, 0 deletions