git-am includes escape characters from 'From' field
- From
- Swift Geek <swiftgeek@gmail.com>
- Date
- Sep 12, 2016, 20:10 UTC
- Message-ID
- <op.yno0zli7ig5ot5@localhost.localdomain>
git-am seems to add backslash that escapes double quote character, example git format-patch
From 63da989a5295214f9bd06cd7b409a86a65241eea Mon Sep 17 00:00:00 2001 From: "Sebastian \"Swift Geek\" Grzywna" <swiftgeek@gmail.com> Date: Mon, 12 Sep 2016 21:27:32 +0200 Subject: [PATCH] Example showing git-am bug that includes escape characters
--- testfile | 1 + 1 file changed, 1 insertion(+) create mode 100644 testfile
diff --git a/testfile b/testfile new file mode 100644 index 0000000..b48e119 --- /dev/null +++ b/testfile @@ -0,0 +1 @@ +test file contents
-- 2.9.3 In .gitconfig I have name = Sebastian \"Swift Geek\" Grzywna which appears to work fine with regular git commit - backslashes are not included in 'From' field. Regards, Swift Geek