MCPcopy Create free account
hub / github.com/git/git / submodule_free

Function submodule_free

submodule-config.c:950–954  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

948}
949
950void submodule_free(struct repository *r)
951{
952 if (r->submodule_cache)
953 submodule_cache_clear(r->submodule_cache);
954}
955
956static int config_print_callback(const char *var, const char *value,
957 const struct config_context *ctx UNUSED,

Callers 4

load_gitmodules_fileFunction · 0.85
cmd__submodule_configFunction · 0.85
grep_objectsFunction · 0.85

Calls 1

submodule_cache_clearFunction · 0.85

Tested by 2

cmd__submodule_configFunction · 0.68