aboutsummaryrefslogtreecommitdiff
path: root/t/t5100/sample.mbox
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@landau.phys.spbu.ru>2009-02-01 20:45:05 +0300
committerJunio C Hamano <gitster@pobox.com>2009-02-01 12:11:15 -0800
commit08e6710f76165f79cfa3cde9b10bb051fb0d0dc9 (patch)
tree836b76d3c69abe0f662a7024e213fe7369e81fa2 /t/t5100/sample.mbox
parentc0f6f67b3d6c8afb89847b6b7bc187d7bed260eb (diff)
downloadgit-08e6710f76165f79cfa3cde9b10bb051fb0d0dc9.tar.gz
git-08e6710f76165f79cfa3cde9b10bb051fb0d0dc9.tar.xz
mailinfo: cleanup extra spaces for complex 'From:'
currently for cases like From: A U Thor <a.u.thor@example.com> (Comment) mailinfo extracts the following 'Author:' field: Author: A U Thor (Comment) ^^ which has two extra spaces left in there after removed email part. I think this is wrong so here is a fix. Signed-off-by: Kirill Smelkov <kirr@landau.phys.spbu.ru> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/sample.mbox')
-rw-r--r--t/t5100/sample.mbox4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5100/sample.mbox b/t/t5100/sample.mbox
index 85df55f2c..c5ad206b4 100644
--- a/t/t5100/sample.mbox
+++ b/t/t5100/sample.mbox
@@ -2,10 +2,10 @@
From nobody Mon Sep 17 00:00:00 2001
-From: A
+From: A (zzz)
U
Thor
- <a.u.thor@example.com>
+ <a.u.thor@example.com> (Comment)
Date: Fri, 9 Jun 2006 00:44:16 -0700
Subject: [PATCH] a commit.