From 4fb5d255c866c5d6040933ea25be3c9d6adf4b19 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Fri, 23 Mar 2012 10:58:37 +0100 Subject: [PATCH] am: Use cat instead of echo to avoid DOS line-endings (fixes t4150) Along the lines of 05d0e3b and f33946d, use cat instead of echo to avoid line ending mismatches in the test result of "am empty-file does not infloop" which make the test fail. Signed-off-by: Sebastian Schuberth --- git-am.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/git-am.sh b/git-am.sh index ef7191e562..a499e147b0 100755 --- a/git-am.sh +++ b/git-am.sh @@ -176,7 +176,9 @@ It does not apply to blobs recorded in its index.")" } clean_abort () { - test $# = 0 || echo >&2 "$@" + test $# = 0 || cat >&2 <