You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way dash 0.5.13 handles non-ASCII contents in here-doc
is buggy and breaks our existing tests, which unfortunately
have been rewritten to avoid triggering the bug.
* ps/dash-buggy-0.5.13-workaround:
t9300: work around partial read bug in Dash v0.5.13
t: work around multibyte bug in quoted heredocs with Dash v0.5.13
check_author "Foö Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar"
1411
1411
'
1412
1412
1413
-
cat >expect <<'EOF'
1413
+
# NOTE: do not quote this heredoc, Dash 0.5.13 has a bug with heredocs
1414
+
# that contain multibyte chars.
1415
+
cat >expect <<EOF
1414
1416
From: Foö Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar
1415
1417
Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo Bar Foo
1416
1418
Bar Foo Bar Foo Bar Foo Bar <author@example.com>
@@ -1425,7 +1427,9 @@ test_expect_success 'format-patch wraps extremely long from-header (non-ASCII wi
1425
1427
test_cmp expect actual
1426
1428
'
1427
1429
1428
-
cat >expect <<'EOF'
1430
+
# NOTE: do not quote this heredoc, Dash 0.5.13 has a bug with heredocs
1431
+
# that contain multibyte chars.
1432
+
cat >expect <<EOF
1429
1433
Subject: [PATCH] Foö
1430
1434
EOF
1431
1435
test_expect_success 'subject lines are unencoded with --no-encode-email-headers''
@@ -1437,7 +1441,9 @@ test_expect_success 'subject lines are unencoded with --no-encode-email-headers'
1437
1441
test_cmp expect actual
1438
1442
'
1439
1443
1440
-
cat >expect <<'EOF'
1444
+
# NOTE: do not quote this heredoc, Dash 0.5.13 has a bug with heredocs
1445
+
# that contain multibyte chars.
1446
+
cat >expect <<EOF
1441
1447
Subject: [PATCH] Foö
1442
1448
EOF
1443
1449
test_expect_success 'subject lines are unencoded with format.encodeEmailHeaders=false''
0 commit comments