summaryrefslogtreecommitdiff
path: root/diff.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-12-13 20:35:07 +0100
committerJunio C Hamano <gitster@pobox.com>2022-12-14 10:29:19 +0900
commitd422d06167af35bbe81026ee75c14eaa6b93127c (patch)
treec1755c895087c77ad70a8ae1094ad23a04596e12 /diff.c
parentc48035d29b4e524aed3a32f0403676f0d9128863 (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