| 194 | } |
| 195 | |
| 196 | static void write_rev_header(const struct git_hash_algo *hash_algo, |
| 197 | struct hashfile *f) |
| 198 | { |
| 199 | hashwrite_be32(f, RIDX_SIGNATURE); |
| 200 | hashwrite_be32(f, RIDX_VERSION); |
| 201 | hashwrite_be32(f, oid_version(hash_algo)); |
| 202 | } |
| 203 | |
| 204 | static void write_rev_index_positions(struct hashfile *f, |
| 205 | uint32_t *pack_order, |
no test coverage detected