diff options
author | Junio C Hamano <gitster@pobox.com> | 2008-05-25 12:16:05 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-26 00:22:18 +0400 |
commit | 9aa23094c281d1333eecb6bb1bd84b1599197d68 (patch) | |
tree | 1964fe1a280980a19d02f13f9457b7e60f3535df /t/t5100-mailinfo.sh | |
parent | cce8d6fdb4d7170a73763586daf6ac4f6b8fce2c (diff) |
mailinfo: apply the same fix not to lose NULs in BASE64 and QP codepaths
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100-mailinfo.sh')
-rwxr-xr-x | t/t5100-mailinfo.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/t5100-mailinfo.sh b/t/t5100-mailinfo.sh index 5a4610b8607..a8b78ebf7d0 100755 --- a/t/t5100-mailinfo.sh +++ b/t/t5100-mailinfo.sh @@ -34,4 +34,13 @@ test_expect_success 'respect NULs' ' ' +test_expect_success 'Preserve NULs out of MIME encoded message' ' + + git mailsplit -d5 -o. ../t5100/nul-b64.in && + cmp ../t5100/nul-b64.in 00001 && + git mailinfo msg patch <00001 && + cmp ../t5100/nul-b64.expect patch + +' + test_done |