| 293 | } |
| 294 | |
| 295 | int is_submodule_populated_gently(const char *path, int *return_error_code) |
| 296 | { |
| 297 | int ret = 0; |
| 298 | char *gitdir = xstrfmt("%s/.git", path); |
| 299 | |
| 300 | if (resolve_gitdir_gently(gitdir, return_error_code)) |
| 301 | ret = 1; |
| 302 | |
| 303 | free(gitdir); |
| 304 | return ret; |
| 305 | } |
| 306 | |
| 307 | /* |
| 308 | * Dies if the provided 'prefix' corresponds to an unpopulated submodule |
no test coverage detected