Junio C Hamano <gitster@xxxxxxxxx> writes: > Petr Baudis <pasky@xxxxxxx> writes: > > +{ > > + struct gitmodules_info *info = info_; > > + const char *subkey; > > + > > + if (prefixcmp(key, "submodule.")) > > + return 0; > > + > > + subkey = strrchr(key, '.'); > > + if (!subkey) > > + return 0; > > This cannot happen; you made sure the thing begins with "submodule." > already. [cut] Are there any api to access and manipulate configuration, including fqvn with the subsection part, instead of having to do this again and again? -- Jakub Narebski Poland ShadeHawk on #git -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html