Merge branch 'jk/alloc-commit-id'
commit10b944b37b11d6e0597541efdd1fa23c0eecbeff
authorJunio C Hamano <gitster@pobox.com>
Tue, 22 Jul 2014 17:59:24 +0000 (22 10:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 22 Jul 2014 17:59:25 +0000 (22 10:59 -0700)
tree2cbd3d48b1f08edee38c565984aaccdca325ef43
parent9f2de9c121c60cba9e55db5263a7bceffcd8fe2d
parentfa96082617e07d988103854fb96c5e92b7587e72
Merge branch 'jk/alloc-commit-id'

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