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

Function daemon_error

daemon.c:301–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299};
300
301static int daemon_error(const char *dir, const char *msg)
302{
303 if (!informative_errors)
304 msg = "access denied or repository not exported";
305 packet_write_fmt(1, "ERR %s: %s", msg, dir);
306 return -1;
307}
308
309static const char *access_hook;
310

Callers 2

run_access_hookFunction · 0.85
run_serviceFunction · 0.85

Calls 1

packet_write_fmtFunction · 0.85

Tested by

no test coverage detected