diff options
author | Alexandre Julliard <julliard@winehq.org> | 2008-11-11 22:09:16 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-11 13:48:04 -0800 |
commit | 989206f535dcd0f43356ad38e1d54cb833d96fc2 (patch) | |
tree | 50c519bd87cb0f7dead301bec496126df190ea71 | |
parent | 0a2bb55848c031f431d8507d0083247ece126b8f (diff) | |
download | git-989206f535dcd0f43356ad38e1d54cb833d96fc2.tar.gz git-989206f535dcd0f43356ad38e1d54cb833d96fc2.tar.xz |
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 <julliard@winehq.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-x | git-submodule.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh index 5888735e4..97e4d9a1e 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -294,7 +294,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 |