Make read_patch_file work on a strbuf.
[gitweb.git] / 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 "$@"
        ;;
 *)