diff options
author | Jeff King <peff@peff.net> | 2016-07-08 05:12:55 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-08 09:47:29 -0700 |
commit | e78d5d49935373dabcc40c5e32aefe4956a70b97 (patch) | |
tree | f2d9307ea64ca0b233b42e61031244076db39adc /t/t5515/refs.br-config-glob-merge_config-glob | |
parent | write_file: add format attribute (diff) | |
download | tgif-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/t5515/refs.br-config-glob-merge_config-glob')
0 files changed, 0 insertions, 0 deletions