Skip to content

Commit ebec8ad

Browse files
committed
t4205: use a file to ensure the encoding is as desired with msysgit
Signed-off-by: Pat Thoyts <[email protected]>
1 parent e123638 commit ebec8ad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

t/t4205-log-pretty-formats.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ test_expect_success 'set up basic repos' '
2828
git add foo &&
2929
test_tick &&
3030
git config i18n.commitEncoding iso8859-1 &&
31-
git commit -m "$(commit_msg iso8859-1)" &&
31+
commit_msg iso8859-1 > commit_msg &&
32+
git commit --file commit_msg &&
3233
git add bar &&
3334
test_tick &&
3435
git commit -m "add bar" &&

0 commit comments

Comments
 (0)