{"thread":{"id":"46955","subject":"Bug or feature: format-patch breaks long subject lines","startedAt":"2017-10-12T08:56:14Z","lastAt":"2017-10-12T10:12:56Z","messageCount":2,"participants":["stefan.naewe@atlas-elektronik.com","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"330251","messageId":"3405d79e-f7be-322c-615e-fd7d8987c0cf@atlas-elektronik.com","threadId":"46955","inReplyTo":null,"subject":"Bug or feature: format-patch breaks long subject lines","fromName":"","fromEmail":"stefan.naewe@atlas-elektronik.com","sentAt":"2017-10-12T08:45:19Z","receivedAt":"2017-10-12T08:56:14Z","isPatch":false,"sender":{"key":"stefan.naewe@gmail.com","avatar":"https://avatars.githubusercontent.com/u/4468?v=4"},"body":"Hello list,\n\ngit format-patch breaks (or better: word-wraps) long subject lines.\n\nThis is on Windows 7 with\n\n$ git --version\ngit version 2.14.2.windows.2\n\nReproduce with (some output omitted):\n\n------------------------------------------------------------------------------\n$ git init test-format-patch\n$ cd test-format-patch\n$ touch file\n$ git add file\n$ git commit -m\"0123456789012345678901234567890123456789012345678901234567890123456789\"\n$ git format-patch -1 --stdout\nFrom ec711cca330f1032d286114932a90488542f1da2 Mon Sep 17 00:00:00 2001\nFrom: Stefan Naewe <stefan.naewe@gmail.com>\nDate: Thu, 12 Oct 2017 10:36:52 +0200\nSubject: [PATCH]\n 0123456789012345678901234567890123456789012345678901234567890123456789\n\n---\n file | 0\n 1 file changed, 0 insertions(+), 0 deletions(-)\n create mode 100644 file\n\ndiff --git a/file b/file\nnew file mode 100644\nindex 0000000..e69de29\n--\n2.14.2.windows.2\n------------------------------------------------------------------------------\n\nIs this the expected behaviour?\n\nThanks,\n  Stefan\n-- \n----------------------------------------------------------------\n/dev/random says: I Have To Stop Now, My Fingers Are Getting Hoarse!\npython -c \"print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')\" \nGPG Key fingerprint = 2DF5 E01B 09C3 7501 BCA9  9666 829B 49C5 9221 27AF"},{"id":"330260","messageId":"xmqqfuaoznby.fsf@gitster.mtv.corp.google.com","threadId":"46955","inReplyTo":"3405d79e-f7be-322c-615e-fd7d8987c0cf@atlas-elektronik.com","subject":"Re: Bug or feature: format-patch breaks long subject lines","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2017-10-12T10:12:49Z","receivedAt":"2017-10-12T10:12:56Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"<stefan.naewe@atlas-elektronik.com> writes:\n\n> Is this the expected behaviour?\n\nYes, it is expected.  Your are seeing the header folding in play.\n\"mailinfo\" (hence \"am\") will grok it just fine, I think.\n"}]}