Hi, On Wed, 25 Jul 2007, Lars Hjemli wrote: > On 7/25/07, Sven Verdoolaege <skimo@xxxxxxxxxx> wrote: > > On Tue, Jul 24, 2007 at 06:49:26PM -0700, Junio C Hamano wrote: > > > Ok, this appears it most likely to be related to the fact that > > > one is a prefix of the other in problematic case. > > > > Yes, this has been noted before and Chris Larson sent in a patch, > > but he didn't follow up on it. > > The following seems to work (in my limitied testing): > > eol='$' > git config --get-regexp '^submodule\..*\.path$' "^$1$eol" Ah, now I get it. You are looking for the _key_ whose value is "$1". But then you really should use "^$1$", and not just "$1", otherwise you will get unintended behaviour when one submodule's name is a substring of another submodule's name. And you do not need the eol hack. Ciao, Dscho - 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