Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Say when --track is useful in the git-checkout docs.
[gitweb.git]
/
git-submodule.sh
diff --git
a/git-submodule.sh
b/git-submodule.sh
index 2cfeaddbc27fd00e089bcf2ffd76e1271f1f3eb9..673aa27a452b11af62d89986bf21c8a4f10e0c41 100755
(executable)
--- a/
git-submodule.sh
+++ b/
git-submodule.sh
@@
-251,7
+251,7
@@
modules_list()
done
}
-while
case "$#" in 0) break ;; esac
+while
test $# != 0
do
case "$1" in
add)
@@
-313,7
+313,7
@@
case "$add,$init,$update,$status,$cached" in
,,1,,)
modules_update "$@"
;;
-,,,
1
,*)
+,,,
*
,*)
modules_list "$@"
;;
*)