| 1863 | } |
| 1864 | |
| 1865 | static char *clone_submodule_sm_gitdir(const char *name) |
| 1866 | { |
| 1867 | struct strbuf sb = STRBUF_INIT; |
| 1868 | char *sm_gitdir; |
| 1869 | |
| 1870 | submodule_name_to_gitdir(&sb, the_repository, name); |
| 1871 | sm_gitdir = absolute_pathdup(sb.buf); |
| 1872 | strbuf_release(&sb); |
| 1873 | |
| 1874 | return sm_gitdir; |
| 1875 | } |
| 1876 | |
| 1877 | static int dir_contains_only_dotgit(const char *path) |
| 1878 | { |
no test coverage detected