MCPcopy Index your code
hub / github.com/git/git / print_config_from_gitmodules

Function print_config_from_gitmodules

submodule-config.c:968–981  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

966}
967
968int print_config_from_gitmodules(struct repository *repo, const char *key)
969{
970 int ret;
971 char *store_key;
972
973 ret = git_config_parse_key(key, &store_key, NULL);
974 if (ret < 0)
975 return CONFIG_INVALID_KEY;
976
977 config_from_gitmodules(config_print_callback, repo, store_key);
978
979 free(store_key);
980 return 0;
981}
982
983int config_set_in_gitmodules_file_gently(const char *key, const char *value)
984{

Callers 2

Calls 2

git_config_parse_keyFunction · 0.85
config_from_gitmodulesFunction · 0.85

Tested by 2