| 247 | } |
| 248 | |
| 249 | int names_equal(const char **a, const char **b) |
| 250 | { |
| 251 | size_t i = 0; |
| 252 | for (; a[i] && b[i]; i++) |
| 253 | if (strcmp(a[i], b[i])) |
| 254 | return 0; |
| 255 | return a[i] == b[i]; |
| 256 | } |
| 257 | |
| 258 | size_t common_prefix_size(struct reftable_buf *a, struct reftable_buf *b) |
| 259 | { |
no outgoing calls