Skip to content
  • Junio C Hamano's avatar
    Merge branch 'jk/alloc-commit-id' · 10b944b3
    Junio C Hamano authored
    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
    10b944b3