diff options
author | Kevin Daudt <me@ikke.info> | 2016-09-28 21:52:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-28 13:21:18 -0700 |
commit | f357e5de31595c28a303aaf5443c26f492441a6f (patch) | |
tree | a6fd4945bc727bd523b17e7562ec989bc025e8bb /t/t5100/comment.expect | |
parent | t5100-mailinfo: replace common path prefix with variable (diff) | |
download | tgif-f357e5de31595c28a303aaf5443c26f492441a6f.tar.xz |
mailinfo: unescape quoted-pair in header fields
rfc2822 has provisions for quoted strings in structured header fields,
but also allows for escaping these with so-called quoted-pairs.
The only thing git currently does is removing exterior quotes, but
quotes within are left alone.
Remove exterior quotes and remove escape characters so that they don't
show up in the author field.
Signed-off-by: Kevin Daudt <me@ikke.info>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/comment.expect')
-rw-r--r-- | t/t5100/comment.expect | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/t5100/comment.expect b/t/t5100/comment.expect new file mode 100644 index 0000000000..7228177984 --- /dev/null +++ b/t/t5100/comment.expect @@ -0,0 +1,5 @@ +Author: A U Thor (this is (really) a comment (honestly)) +Email: somebody@example.com +Subject: testing comments +Date: Sun, 25 May 2008 00:38:18 -0700 + |