| 814 | } |
| 815 | |
| 816 | static int gitmodules_cb(const char *var, const char *value, |
| 817 | const struct config_context *ctx, void *data) |
| 818 | { |
| 819 | struct repository *repo = data; |
| 820 | struct parse_config_parameter parameter; |
| 821 | |
| 822 | parameter.cache = repo->submodule_cache; |
| 823 | parameter.treeish_name = NULL; |
| 824 | parameter.gitmodules_oid = null_oid(the_hash_algo); |
| 825 | parameter.overwrite = 1; |
| 826 | |
| 827 | return parse_config(var, value, ctx, ¶meter); |
| 828 | } |
| 829 | |
| 830 | void repo_read_gitmodules(struct repository *repo, int skip_if_read) |
| 831 | { |
nothing calls this directly
no test coverage detected