| 2065 | } |
| 2066 | |
| 2067 | static int write_graph_chunk_base_1(struct hashfile *f, |
| 2068 | struct commit_graph *g) |
| 2069 | { |
| 2070 | int num = 0; |
| 2071 | |
| 2072 | if (!g) |
| 2073 | return 0; |
| 2074 | |
| 2075 | num = write_graph_chunk_base_1(f, g->base_graph); |
| 2076 | hashwrite(f, g->oid.hash, g->hash_algo->rawsz); |
| 2077 | return num + 1; |
| 2078 | } |
| 2079 | |
| 2080 | static int write_graph_chunk_base(struct hashfile *f, |
| 2081 | void *data) |
no test coverage detected