summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2016-07-08 05:12:55 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-08 09:47:29 -0700
commite78d5d49935373dabcc40c5e32aefe4956a70b97 (patch)
treef2d9307ea64ca0b233b42e61031244076db39adc /t
parentwrite_file: add format attribute (diff)
downloadtgif-e78d5d49935373dabcc40c5e32aefe4956a70b97.tar.xz
use write_file_buf where applicable
There are several places where we open a file, write some content from a strbuf, and close it. These can be simplified with write_file_buf(). As a bonus, many of these did not catch write problems at close() time. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions