| 595 | }; |
| 596 | |
| 597 | static void update_common(void *void_arg, void *key) |
| 598 | { |
| 599 | struct common_prefix_arg *arg = void_arg; |
| 600 | struct obj_index_tree_node *entry = key; |
| 601 | if (arg->last) { |
| 602 | size_t n = common_prefix_size(&entry->hash, arg->last); |
| 603 | if (n > arg->max) |
| 604 | arg->max = n; |
| 605 | } |
| 606 | arg->last = &entry->hash; |
| 607 | } |
| 608 | |
| 609 | struct write_record_arg { |
| 610 | struct reftable_writer *w; |
nothing calls this directly
no test coverage detected