| 659 | } |
| 660 | |
| 661 | static int batch_unordered_object(const struct object_id *oid, |
| 662 | struct packed_git *pack, |
| 663 | off_t offset, |
| 664 | void *vdata) |
| 665 | { |
| 666 | struct object_cb_data *data = vdata; |
| 667 | |
| 668 | if (oidset_insert(data->seen, oid)) |
| 669 | return 0; |
| 670 | |
| 671 | oidcpy(&data->expand->oid, oid); |
| 672 | batch_object_write(NULL, data->scratch, data->opt, data->expand, |
| 673 | pack, offset); |
| 674 | return 0; |
| 675 | } |
| 676 | |
| 677 | typedef void (*parse_cmd_fn_t)(struct batch_options *, const char *, |
| 678 | struct strbuf *, struct expand_data *); |
nothing calls this directly
no test coverage detected