From 5f7623a7eb8651412901bb75ffabdbafaddd8171 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Mon, 2 Sep 2013 16:07:46 +0100 Subject: [PATCH] t4205: use a file to ensure the encoding is as desired with msysgit Signed-off-by: Pat Thoyts --- t/t4205-log-pretty-formats.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/t4205-log-pretty-formats.sh b/t/t4205-log-pretty-formats.sh index fb00041139..18e1da31f7 100755 --- a/t/t4205-log-pretty-formats.sh +++ b/t/t4205-log-pretty-formats.sh @@ -28,7 +28,8 @@ test_expect_success 'set up basic repos' ' git add foo && test_tick && git config i18n.commitEncoding iso8859-1 && - git commit -m "$(commit_msg iso8859-1)" && + commit_msg iso8859-1 > commit_msg && + git commit --file commit_msg && git add bar && test_tick && git commit -m "add bar" &&