| 204 | candidate[used++] = '/'; |
| 205 | memcpy(candidate + used, "git", sizeof("git")); |
| 206 | struct stat st; |
| 207 | if (stat(candidate, &st) != 0) { |
| 208 | return errno == ENOENT || errno == ENOTDIR || errno == EACCES ? IF_GIT_MISS : IF_GIT_ERROR; |
| 209 | } |
no outgoing calls
no test coverage detected