зеркало из https://github.com/microsoft/git.git
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>
This commit is contained in:
Родитель
0a2bb55848
Коммит
989206f535
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче