git-submodule: Avoid printing a spurious message.
PATCH 1/1 git-submodule: Avoid printing a spurious message.
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 <[email protected]>
--- git-submodule.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
git-submodule.sh +1 -1
@@ -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
Signature · 5 lines
1.6.0.4.637.ga2ff4 -- Alexandre Julliard [email protected]
Good eyes, thanks. Will apply to 'maint'.
Hi,
Quoted 14 lines · Alexandre Julliard
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 <[email protected]>--- git-submodule.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)git-submodule.sh +0
-0
git-submodule.sh cmd_update() · line 329
Quoted 8 lines
git-submodule.sh +1
-1@@ -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