diff --git a/git-am.sh b/git-am.sh index 9c318ba808..7bf674e573 100755 --- a/git-am.sh +++ b/git-am.sh @@ -185,7 +185,9 @@ It does not apply to blobs recorded in its index.")" } clean_abort () { - test $# = 0 || echo >&2 "$@" + test $# = 0 || cat >&2 </dev/null) if test $? -ne 0 diff --git a/git-sh-setup.sh b/git-sh-setup.sh index c42c6e6365..9cd1ed686d 100644 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh @@ -59,7 +59,9 @@ GIT_QUIET= say () { if test -z "$GIT_QUIET" then - printf '%s\n' "$*" + cat < /dev/null 2>&1 then - eval_gettextln "The following path is ignored by one of your .gitignore files: -\$sm_path -Use -f if you really want to add it." >&2 + cat >&2 <