Merge branch 'jk/commit-buffer-length' into next
authorJunio C Hamano <gitster@pobox.com>
Mon, 16 Jun 2014 19:52:06 +0000 (12:52 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jun 2014 19:52:06 +0000 (12:52 -0700)
commitb2d2d7b0c200724d5e286344a7a712af552aa8a1
tree3839ea9d555a1b13632706a5fca55ba4d01125b9
parent399679e859ad8a05875c05934c60f2946d53705b
parent218aa3a6162b80696a82b8745daa38fa826985ae
Merge branch 'jk/commit-buffer-length' into next

* jk/commit-buffer-length:
  reuse cached commit buffer when parsing signatures
  commit: record buffer length in cache
  commit: convert commit->buffer to a slab
  commit-slab: provide a static initializer
  use get_commit_buffer everywhere
  convert logmsg_reencode to get_commit_buffer
  use get_commit_buffer to avoid duplicate code
  use get_cached_commit_buffer where appropriate
  provide helpers to access the commit buffer
  provide a helper to set the commit buffer
  provide a helper to free commit buffer
  sequencer: use logmsg_reencode in get_message
  logmsg_reencode: return const buffer
  do not create "struct commit" with xcalloc
  commit: push commit_index update into alloc_commit_node
  alloc: include any-object allocations in alloc_report
  replace dangerous uses of strbuf_attach
  commit_tree: take a pointer/len pair rather than a const strbuf
14 files changed:
builtin/blame.c
builtin/commit.c
builtin/fast-export.c
builtin/index-pack.c
builtin/log.c
builtin/merge.c
builtin/reset.c
commit.c
merge-recursive.c
notes-cache.c
notes-utils.c
pretty.c
revision.c
sequencer.c