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

Function agent_advertise

serve.c:25–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25static int agent_advertise(struct repository *r UNUSED,
26 struct strbuf *value)
27{
28 if (value)
29 strbuf_addstr(value, git_user_agent_sanitized());
30 return 1;
31}
32
33static int promisor_remote_advertise(struct repository *r,
34 struct strbuf *value)

Callers

nothing calls this directly

Calls 2

strbuf_addstrFunction · 0.85
git_user_agent_sanitizedFunction · 0.85

Tested by

no test coverage detected