Show 15 quoted lines
> diff --git a/submodule.c b/submodule.c
> index e4f2419..8c98fad 100644
> --- a/submodule.c
> +++ b/submodule.c
> @@ -100,6 +101,14 @@ int parse_submodule_config_option(const char *var, const char *value)
> config = string_list_append(&config_name_for_path, xstrdup(value));
> config->util = strbuf_detach(&submodname, NULL);
> strbuf_release(&submodname);
> + } else if ((len > 5) && !strcmp(var + len - 6, ".fetch")) {
> + strbuf_add(&submodname, var, len - 6);
> + config = unsorted_string_list_lookup(&config_fetch_for_name, submodname.buf);
> + if (!config)
> + config = string_list_append(&config_fetch_for_name,
> + strbuf_detach(&submodname, NULL));
> + config->util = (void *)git_config_bool(var, value);