Merge branch 'jk/write-file'
commit2b6456b8089e42232d80672525edbe411ba41549
authorJunio C Hamano <gitster@pobox.com>
Tue, 19 Jul 2016 20:22:23 +0000 (19 13:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jul 2016 20:22:23 +0000 (19 13:22 -0700)
treeb80371caee35146d5cab5c415aac68bfafb1e014
parent96e08010ee5b9d1dbfbcc8561fa69f972a415a38
parent7eb6e10c9d7f43913615667740d1b22055cfba1f
Merge branch 'jk/write-file'

General code clean-up around a helper function to write a
single-liner to a file.

* jk/write-file:
  branch: use write_file_buf instead of write_file
  use write_file_buf where applicable
  write_file: add format attribute
  write_file: add pointer+len variant
  write_file: use xopen
  write_file: drop "gently" form
  branch: use non-gentle write_file for branch description
  am: ignore return value of write_file()
  config: fix bogus fd check when setting up default config
builtin/am.c
builtin/branch.c
builtin/merge.c
cache.h
wrapper.c