Merge branch 'jk/alloc-commit-id' into next
commitf14c01aa73a1a65a80227adfd6a9827381017902
authorJunio C Hamano <gitster@pobox.com>
Wed, 16 Jul 2014 18:49:38 +0000 (16 11:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Jul 2014 18:49:38 +0000 (16 11:49 -0700)
treeef976e373a911d191e0d3639ae34bf75b4f9109b
parent56c219538365476350863092eb214613a85dcc66
parentfa96082617e07d988103854fb96c5e92b7587e72
Merge branch 'jk/alloc-commit-id' into next

Make sure all in-core commit objects are assigned a unique number
so that they can be annotated using the commit-slab API.

* jk/alloc-commit-id:
  diff-tree: avoid lookup_unknown_object
  object_as_type: set commit index
  alloc: factor out commit index
  add object_as_type helper for casting objects
  parse_object_buffer: do not set object type
  move setting of object->type to alloc_* functions
  alloc: write out allocator definitions
  alloc.c: remove the alloc_raw_commit_node() function
builtin/blame.c
builtin/diff-tree.c
cache.h
commit.c
object.c
refs.c