Re: [PATCH v8 1/3] submodule: add get_submodule_config helper funtion

2012-12-21 Thread W. Trevor King
On Fri, Dec 21, 2012 at 09:20:33AM +0100, Heiko Voigt wrote: > On Wed, Dec 19, 2012 at 11:03:31AM -0500, wk...@tremily.us wrote: > > diff --git a/git-submodule.sh b/git-submodule.sh > > index 2365149..263a60c 100755 > > --- a/git-submodule.sh > > +++ b/git-submodule.sh > > @@ -153,6 +153,32 @@ die_

Re: [PATCH v8 1/3] submodule: add get_submodule_config helper funtion

2012-12-21 Thread Heiko Voigt
On Wed, Dec 19, 2012 at 11:03:31AM -0500, wk...@tremily.us wrote: > diff --git a/git-submodule.sh b/git-submodule.sh > index 2365149..263a60c 100755 > --- a/git-submodule.sh > +++ b/git-submodule.sh > @@ -153,6 +153,32 @@ die_if_unmatched () [...] > +get_submodule_config () { > + name="$1" > +

[PATCH v8 1/3] submodule: add get_submodule_config helper funtion

2012-12-19 Thread wking
From: "W. Trevor King" Several submodule configuration variables (e.g. fetchRecurseSubmodules) are read from .gitmodules with local overrides from the usual git config files. This shell function mimics that logic to help initialize configuration variables in git-submodule.sh. Signed-off-by: W.