diff options
author | 2009-02-01 20:45:05 +0300 | |
---|---|---|
committer | 2009-02-01 12:11:15 -0800 | |
commit | 08e6710f76165f79cfa3cde9b10bb051fb0d0dc9 (patch) | |
tree | 836b76d3c69abe0f662a7024e213fe7369e81fa2 /t/t5100/info0001 | |
parent | Merge branch 'ks/maint-mailinfo-folded' (diff) | |
download | tgif-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/info0001')
-rw-r--r-- | t/t5100/info0001 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5100/info0001 b/t/t5100/info0001 index 8c052777e0..f951538acc 100644 --- a/t/t5100/info0001 +++ b/t/t5100/info0001 @@ -1,4 +1,4 @@ -Author: A U Thor +Author: A (zzz) U Thor (Comment) Email: a.u.thor@example.com Subject: a commit. Date: Fri, 9 Jun 2006 00:44:16 -0700 |