X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=git-submodule.sh;h=004c034bc09449416ff6d66b7570d48b651f96cb;hb=abea4dc76a675d4ac0f27a2367256dc31981d1ca;hp=22ec5b63b4cd36dd10277e842970f9534a623a2f;hpb=9ecd9f5dc300235593e4d3e4ecff4448f2500bad;p=git.git diff --git a/git-submodule.sh b/git-submodule.sh index 22ec5b63b..004c034bc 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -976,12 +976,12 @@ cmd_summary() { done | if test -n "$for_status"; then if [ -n "$files" ]; then - gettextln "# Submodules changed but not updated:" + gettextln "Submodules changed but not updated:" | git stripspace -c else - gettextln "# Submodule changes to be committed:" + gettextln "Submodule changes to be committed:" | git stripspace -c fi - echo "#" - sed -e 's|^|# |' -e 's|^# $|#|' + printf "\n" | git stripspace -c + git stripspace -c else cat fi