Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-submodule: Avoid printing a spurious message.
author
Alexandre Julliard
<julliard@winehq.org>
Tue, 11 Nov 2008 21:09:16 +0000
(22:09 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 11 Nov 2008 21:48:04 +0000
(13:48 -0800)
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>
git-submodule.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
0a2bb55
)
diff --git
a/git-submodule.sh
b/git-submodule.sh
index 5888735e4f2dac852f43c31195f430a1a6d23446..97e4d9a1ef9478f54613144e74e9e12314230877 100755
(executable)
--- 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