| 420 | } |
| 421 | |
| 422 | void free_commit_buffer(struct parsed_object_pool *pool, struct commit *commit) |
| 423 | { |
| 424 | struct commit_buffer *v = buffer_slab_peek( |
| 425 | pool->buffer_slab, commit); |
| 426 | if (v) { |
| 427 | FREE_AND_NULL(v->buffer); |
| 428 | v->size = 0; |
| 429 | } |
| 430 | } |
| 431 | |
| 432 | static inline void set_commit_tree(struct commit *c, struct tree *t) |
| 433 | { |
no outgoing calls
no test coverage detected