summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorBen Peart <Ben.Peart@microsoft.com>2018-07-10 21:08:22 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-07-10 21:22:44 (GMT)
commit80a6c2073b4d90be3e1be21f86afe7a47d1ac7bc (patch)
tree3268229219296b7b7051066ee339ba8454bf6ba4 /sequencer.c
parente3331758f12da22f4103eec7efe1b5304a9be5e9 (diff)
downloadgit-80a6c2073b4d90be3e1be21f86afe7a47d1ac7bc.zip
git-80a6c2073b4d90be3e1be21f86afe7a47d1ac7bc.tar.gz
git-80a6c2073b4d90be3e1be21f86afe7a47d1ac7bc.tar.bz2
convert log_ref_write_fd() to use strbuf
Since we don't care about how many bytes were written, simplify the return value logic. log_ref_write_fd() was written long before strbuf was fleshed out. Remove the old manual buffer management code and replace it with strbuf(). Also update copy_reflog_msg() which is called only by log_ref_write_fd() to use strbuf as it keeps things consistent. Signed-off-by: Ben Peart <Ben.Peart@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.c')
0 files changed, 0 insertions, 0 deletions