From fc48cb44e83a3940ff0c45d203935124963bb35d Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Tue, 26 Jan 2016 16:55:28 +0100 Subject: [PATCH] fixup! am: Use cat instead of echo to avoid DOS line-endings (fixes t4150) This is no longer necessary since 'am' is a builtin. Signed-off-by: Johannes Schindelin --- contrib/examples/git-am.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contrib/examples/git-am.sh b/contrib/examples/git-am.sh index ac2a98e914..dd539f1a8a 100755 --- a/contrib/examples/git-am.sh +++ b/contrib/examples/git-am.sh @@ -188,9 +188,7 @@ It does not apply to blobs recorded in its index.")" } clean_abort () { - test $# = 0 || cat >&2 <&2 "$@" rm -fr "$dotest" exit 1 }