| 98 | } |
| 99 | |
| 100 | void *alloc_object_node(struct repository *r) |
| 101 | { |
| 102 | struct object *obj = alloc_node(r->parsed_objects->object_state, sizeof(union any_object)); |
| 103 | obj->type = OBJ_NONE; |
| 104 | return obj; |
| 105 | } |
| 106 | |
| 107 | /* |
| 108 | * The returned count is to be used as an index into commit slabs, |
no test coverage detected