git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-submodule: Avoid printing a spurious message.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 12, 2008, 00:07 UTC
Message-ID
<alpine.DEB.1.00.0811120107240.30769@pacific.mpi-cbg.de>
In-Reply-To
<87myg67ywz.fsf@wine.dyndns.org>
Hi,
On Tue, 11 Nov 2008, Alexandre Julliard wrote:
Show 22 quoted lines
> 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 <julliard@winehq.org>
> ---
>  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

Previous: Alexandre JulliardNext: Junio C Hamano
Message 2 of 3 in “git-submodule: Avoid printing a spurious message.”
  1. git-submodule: Avoid printing a spurious message.Alexandre Julliard, Nov 11, 2008
  2. Johannes SchindelinNov 12, 2008
  3. Junio C HamanoNov 12, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.