Merge branch 'jk/snprintf-cleanups' into next
authorJunio C Hamano <gitster@pobox.com>
Tue, 11 Apr 2017 07:55:04 +0000 (00:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Apr 2017 07:55:04 +0000 (00:55 -0700)
commit42ac56e8865186b4733819cf549871d76e8f20ab
tree6a7f4ec1811b05da45c01362227d9115649559e7
parent7642488e1deb83bc289cf366e9d27c91aed0203c
parent6a97da396470cb85e289a4810326fd7f50062b96
Merge branch 'jk/snprintf-cleanups' into next

Code clean-up.

* jk/snprintf-cleanups:
  daemon: use an argv_array to exec children
  gc: replace local buffer with git_path
  transport-helper: replace checked snprintf with xsnprintf
  convert unchecked snprintf into xsnprintf
  combine-diff: replace malloc/snprintf with xstrfmt
  replace unchecked snprintf calls with heap buffers
  receive-pack: print --pack-header directly into argv array
  name-rev: replace static buffer with strbuf
  create_branch: use xstrfmt for reflog message
  create_branch: move msg setup closer to point of use
  avoid using mksnpath for refs
  avoid using fixed PATH_MAX buffers for refs
  fetch: use heap buffer to format reflog
  tag: use strbuf to format tag header
  diff: avoid fixed-size buffer for patch-ids
  odb_mkstemp: use git_path_buf
  odb_mkstemp: write filename into strbuf
  do not check odb_mkstemp return value for errors
builtin/receive-pack.c
builtin/tag.c
cache.h
environment.c
submodule.c