]> git.ipfire.org Git - thirdparty/git.git/commit - git-send-email.perl
git-send-email: do not double-escape quotes from mutt
authorEric Wong <normalperson@yhbt.net>
Mon, 4 Jan 2016 20:53:30 +0000 (20:53 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Jan 2016 21:35:40 +0000 (13:35 -0800)
commit2c510f21cd2c571549cf75ff94061a2a6717851f
tree1940a04a61e46b431e166a0fc01714e52e3acc5e
parenta2558fb8e1e387b630312311e1d22c95663da5d0
git-send-email: do not double-escape quotes from mutt

mutt saves aliases with escaped quotes in the form of:

alias dot \"Dot U. Sir\" <somebody@example.org>

When we pass through our sanitize_address routine,
we end up with double-escaping:

 To: "\\\"Dot U. Sir\\\" <somebody@example.org>

Remove the escaping in mutt only for now, as I am not sure
if other mailers can do this or if this is better fixed in
sanitize_address.

Cc: Remi Lespinet <remi.lespinet@ensimag.grenoble-inp.fr>
Cc: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-send-email.perl
t/t9001-send-email.sh