Subject: Re: [PATCH 1/6] submodule.*: Introduce simple C interface for submodule lookup by path

From: Jakub Narebski <[email-masked]>
Date: Fri, 12 Sep 2008 14:35:54 -0700 (PDT)

Junio C Hamano <[email-masked]> writes:

> Petr Baudis <[email-masked]> 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