MCPcopy Create free account
hub / github.com/git/git / check_no_capabilities

Function check_no_capabilities

connect.c:276–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276static void check_no_capabilities(const char *line, size_t len)
277{
278 if (strlen(line) != len)
279 warning(_("ignoring capabilities after first line '%s'"),
280 line + strlen(line));
281}
282
283static int process_ref(const struct packet_reader *reader, size_t len,
284 struct ref ***list, unsigned int flags,

Callers 2

process_refFunction · 0.85
process_shallowFunction · 0.85

Calls 1

warningFunction · 0.85

Tested by

no test coverage detected