From: Johannes Schindelin Date: Wed, 12 Nov 2008 00:07:47 GMT Subject: Re: [PATCH] git-submodule: Avoid printing a spurious message. Message-ID: In-Reply-To: <87myg67ywz.fsf@wine.dyndns.org> Hi, On Tue, 11 Nov 2008, Alexandre Julliard wrote: > Fix 'git submodule update' to avoid printing a spurious "Maybe you want > to use 'update --init'?" once for every uninitialized submodule it > encounters. > > Signed-off-by: Alexandre Julliard > --- > git-submodule.sh | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/git-submodule.sh b/git-submodule.sh > index b63e5c3..220d94e 100755 > --- a/git-submodule.sh > +++ b/git-submodule.sh > @@ -323,7 +323,7 @@ cmd_update() > # Only mention uninitialized submodules when its > # path have been specified > test "$#" != "0" && > - say "Submodule path '$path' not initialized" > + say "Submodule path '$path' not initialized" && > say "Maybe you want to use 'update --init'?" > continue > fi Ooops, thanks (& ACK). Ciao, Dscho