Code

git-submodule: re-enable 'status' as the default subcommand
authorLars Hjemli <hjemli@gmail.com>
Sat, 4 Aug 2007 14:25:53 +0000 (16:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 17 Aug 2007 09:44:09 +0000 (02:44 -0700)
This was broken as part of ecda072380.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Acked-by: Sven Verdoolaege <skimo@kotnet.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-submodule.sh

index 2cfeaddbc27fd00e089bcf2ffd76e1271f1f3eb9..3320998c76ba72094755ec60369a6266751889ff 100755 (executable)
@@ -313,7 +313,7 @@ case "$add,$init,$update,$status,$cached" in
 ,,1,,)
        modules_update "$@"
        ;;
-,,,1,*)
+,,,*,*)
        modules_list "$@"
        ;;
 *)