summaryrefslogtreecommitdiff
path: root/reflog-walk.h
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-07-08 09:12:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-07-08 16:47:29 (GMT)
commite78d5d49935373dabcc40c5e32aefe4956a70b97 (patch)
treef2d9307ea64ca0b233b42e61031244076db39adc /reflog-walk.h
parente04d08a4b3373972717c805ae8e788219b873b2a (diff)
downloadgit-e78d5d49935373dabcc40c5e32aefe4956a70b97.zip
git-e78d5d49935373dabcc40c5e32aefe4956a70b97.tar.gz
git-e78d5d49935373dabcc40c5e32aefe4956a70b97.tar.bz2
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 'reflog-walk.h')
0 files changed, 0 insertions, 0 deletions