Hi, On Fri, 20 Jul 2007, Junio C Hamano wrote: > "Chris Larson" <clarson@xxxxxxxxxxx> writes: > > > + name=$(GIT_CONFIG=.gitmodules git config --get-regexp > > '^submodule\..*\.path$' "^$path$" | > > sed -nre 's/^submodule\.(.+)\.path .+$/\1/p') I wonder why it is a regular expression to begin with, since we seem to prefer shell patterns on paths. However, _if_ we already go with regexps, why not just put it into the "sed" call, which is _already_ there, and leave "git config" alone? IOW call git config --get-regexp '^submodule\..*\.path$' | sed -nre 's/^submodule\.(.*$path.*)\.path .+$\1/p' Hmm? 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