Merge branch 'cc/replace-with-the-same-type'
[gitweb.git] / git-submodule.sh
index 2979197087f2c6d97e2945008394d50c16a195a5..c17bef10629d3fe53e03647ee16de7f9de24dfb5 100755 (executable)
@@ -1149,18 +1149,7 @@ cmd_summary() {
                        echo
                fi
                echo
-       done |
-       if test -n "$for_status"; then
-               if [ -n "$files" ]; then
-                       gettextln "Submodules changed but not updated:" | git stripspace -c
-               else
-                       gettextln "Submodule changes to be committed:" | git stripspace -c
-               fi
-               printf "\n" | git stripspace -c
-               git stripspace -c
-       else
-               cat
-       fi
+       done
 }
 #
 # List all submodules, prefixed with: