summaryrefslogtreecommitdiff
path: root/t/t5322-pack-objects-sparse.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-02-22 11:26:43 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-02-22 14:25:35 -0800
commit2fe95f494cde6cb3c3e6894bb687961b28b1764b (patch)
tree3220d3211082b8bde9f21908844a9e6ff218c67b /t/t5322-pack-objects-sparse.sh
parentbuiltin/log: downcase the beginning of error messages (diff)
downloadtgif-2fe95f494cde6cb3c3e6894bb687961b28b1764b.tar.xz
format-patch: notice failure to open cover letter for writing
The make_cover_letter() function is supposed to open a new file for writing, and let the caller write into it via FILE *rev->diffopt.file but because the function does not return anything, the caller does not bother checking the return value. Make sure it dies, instead of keep going with a NULL output filestream and relying on it to cause a crash, when it fails to open the file. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5322-pack-objects-sparse.sh')
0 files changed, 0 insertions, 0 deletions