MCPcopy Index your code
hub / github.com/git/git / names_equal

Function names_equal

reftable/basics.c:249–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249int 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
258size_t common_prefix_size(struct reftable_buf *a, struct reftable_buf *b)
259{

Calls

no outgoing calls

Tested by 1