| 1197 | } |
| 1198 | |
| 1199 | static int write_graph_chunk_oids(struct hashfile *f, |
| 1200 | void *data) |
| 1201 | { |
| 1202 | struct write_commit_graph_context *ctx = data; |
| 1203 | struct commit **list = ctx->commits.items; |
| 1204 | int count; |
| 1205 | for (count = 0; count < ctx->commits.nr; count++, list++) { |
| 1206 | display_progress(ctx->progress, ++ctx->progress_cnt); |
| 1207 | hashwrite(f, (*list)->object.oid.hash, f->algop->rawsz); |
| 1208 | } |
| 1209 | |
| 1210 | return 0; |
| 1211 | } |
| 1212 | |
| 1213 | static const struct object_id *commit_to_oid(size_t index, const void *table) |
| 1214 | { |
nothing calls this directly
no test coverage detected