mirror of
https://github.com/git/git.git
synced 2026-02-03 22:42:53 +00:00
am: Use cat instead of echo to avoid DOS line-endings (fixes t4150)
Along the lines of05d0e3bandf33946d, 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 <sschuberth@gmail.com>
This commit is contained in:
committed by
Johannes Schindelin
parent
52acf1e470
commit
fa35cd9a02
@@ -188,7 +188,9 @@ It does not apply to blobs recorded in its index.")"
|
||||
}
|
||||
|
||||
clean_abort () {
|
||||
test $# = 0 || echo >&2 "$@"
|
||||
test $# = 0 || cat >&2 <<EOF
|
||||
$@
|
||||
EOF
|
||||
rm -fr "$dotest"
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user