| 299 | }; |
| 300 | |
| 301 | static 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 | |
| 309 | static const char *access_hook; |
| 310 |
no test coverage detected