summaryrefslogtreecommitdiff
path: root/builtin/merge.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-07-08 09:16:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-07-08 16:47:29 (GMT)
commit7eb6e10c9d7f43913615667740d1b22055cfba1f (patch)
tree7906886fd00371deab448784296a546ec4f52a57 /builtin/merge.c
parente78d5d49935373dabcc40c5e32aefe4956a70b97 (diff)
downloadgit-7eb6e10c9d7f43913615667740d1b22055cfba1f.zip
git-7eb6e10c9d7f43913615667740d1b22055cfba1f.tar.gz
git-7eb6e10c9d7f43913615667740d1b22055cfba1f.tar.bz2
branch: use write_file_buf instead of write_file
If we already have a strbuf, then using write_file_buf is a little nicer to read (no wondering whether "%s" will eat your NULs), and it's more efficient (no extra formatting step). We don't care about the newline magic of write_file(), as we have our own multi-line content. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/merge.c')
0 files changed, 0 insertions, 0 deletions