| 927 | } |
| 928 | |
| 929 | void submodules_of_tree(struct repository *r, |
| 930 | const struct object_id *treeish_name, |
| 931 | struct submodule_entry_list *out) |
| 932 | { |
| 933 | CALLOC_ARRAY(out->entries, 0); |
| 934 | out->entry_nr = 0; |
| 935 | out->entry_alloc = 0; |
| 936 | |
| 937 | traverse_tree_submodules(r, treeish_name, NULL, treeish_name, out); |
| 938 | } |
| 939 | |
| 940 | void submodule_entry_list_release(struct submodule_entry_list *list) |
| 941 | { |
no test coverage detected