aboutsummaryrefslogtreecommitdiff
path: root/t/t5100
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@landau.phys.spbu.ru>2009-01-12 15:22:11 -0800
committerJunio C Hamano <gitster@pobox.com>2009-01-12 15:22:11 -0800
commitddfb3696b91e2a2261b79d0828a7a715e3d71c1e (patch)
tree269ef06570087226f3c9d939ba8349a74a29b82e /t/t5100
parent353aaf2fa136d34db64d1e4af12cc12431466a9e (diff)
downloadgit-ddfb3696b91e2a2261b79d0828a7a715e3d71c1e.tar.gz
git-ddfb3696b91e2a2261b79d0828a7a715e3d71c1e.tar.xz
mailinfo: 'From:' header should be unfold as well
At present we do headers unfolding (see RFC822 3.1.1. LONG HEADER FIELDS) for all fields except 'From' (always) and 'Subject' (when keep_subject is set) Not unfolding 'From' is a bug -- see above-mentioned RFC link. Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100')
-rw-r--r--t/t5100/sample.mbox5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/t5100/sample.mbox b/t/t5100/sample.mbox
index 94da4daa1..38725f38d 100644
--- a/t/t5100/sample.mbox
+++ b/t/t5100/sample.mbox
@@ -2,7 +2,10 @@
From nobody Mon Sep 17 00:00:00 2001
-From: A U Thor <a.u.thor@example.com>
+From: A
+ U
+ Thor
+ <a.u.thor@example.com>
Date: Fri, 9 Jun 2006 00:44:16 -0700
Subject: [PATCH] a commit.