X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=git-submodule.sh;h=004c034bc09449416ff6d66b7570d48b651f96cb;hb=00abd715ab0a2cd69f9d27ea15c5440002f970b8;hp=22ec5b63b4cd36dd10277e842970f9534a623a2f;hpb=9591fcc6d66fd213c8c9f73553b7684b73daf4cb;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