mirror of
https://github.com/git/git.git
synced 2024-12-04 07:24:41 +08:00
f357e5de31
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>
10 lines
217 B
Plaintext
10 lines
217 B
Plaintext
From 1234567890123456789012345678901234567890 Mon Sep 17 00:00:00 2001
|
|
From: "Author \"The Author\" Name" <somebody@example.com>
|
|
Date: Sun, 25 May 2008 00:38:18 -0700
|
|
Subject: [PATCH] testing quoted-pair
|
|
|
|
|
|
|
|
---
|
|
patch
|