|
|
|
@ -155,7 +155,7 @@ test_expect_failure 'additional command line cc (rfc822)' '
@@ -155,7 +155,7 @@ test_expect_failure 'additional command line cc (rfc822)' '
|
|
|
|
|
git config --replace-all format.headers "Cc: R E Cipient <rcipient@example.com>" && |
|
|
|
|
git format-patch --cc="S. E. Cipient <scipient@example.com>" --stdout master..side | sed -e "/^\$/q" >patch5 && |
|
|
|
|
grep "^Cc: R E Cipient <rcipient@example.com>,\$" patch5 && |
|
|
|
|
grep "^ *"S. E. Cipient" <scipient@example.com>\$" patch5 |
|
|
|
|
grep "^ *\"S. E. Cipient\" <scipient@example.com>\$" patch5 |
|
|
|
|
' |
|
|
|
|
|
|
|
|
|
test_expect_success 'command line headers' ' |
|
|
|
@ -183,7 +183,7 @@ test_expect_success 'command line To: header (ascii)' '
@@ -183,7 +183,7 @@ test_expect_success 'command line To: header (ascii)' '
|
|
|
|
|
test_expect_failure 'command line To: header (rfc822)' ' |
|
|
|
|
|
|
|
|
|
git format-patch --to="R. E. Cipient <rcipient@example.com>" --stdout master..side | sed -e "/^\$/q" >patch8 && |
|
|
|
|
grep "^To: "R. E. Cipient" <rcipient@example.com>\$" patch8 |
|
|
|
|
grep "^To: \"R. E. Cipient\" <rcipient@example.com>\$" patch8 |
|
|
|
|
' |
|
|
|
|
|
|
|
|
|
test_expect_failure 'command line To: header (rfc2047)' ' |
|
|
|
@ -203,7 +203,7 @@ test_expect_failure 'configuration To: header (rfc822)' '
@@ -203,7 +203,7 @@ test_expect_failure 'configuration To: header (rfc822)' '
|
|
|
|
|
|
|
|
|
|
git config format.to "R. E. Cipient <rcipient@example.com>" && |
|
|
|
|
git format-patch --stdout master..side | sed -e "/^\$/q" >patch9 && |
|
|
|
|
grep "^To: "R. E. Cipient" <rcipient@example.com>\$" patch9 |
|
|
|
|
grep "^To: \"R. E. Cipient\" <rcipient@example.com>\$" patch9 |
|
|
|
|
' |
|
|
|
|
|
|
|
|
|
test_expect_failure 'configuration To: header (rfc2047)' ' |
|
|
|
|