{"thread":{"id":"13196","subject":"[PATCH] post-receive-email: fix accidental removal of a trailing space in signature line","startedAt":"2008-04-21T13:44:44Z","lastAt":"2008-04-21T13:44:44Z","messageCount":1,"participants":["Andy Parkins"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"74871","messageId":"200804211444.44810.andyparkins@gmail.com","threadId":"13196","inReplyTo":null,"subject":"[PATCH] post-receive-email: fix accidental removal of a trailing space in signature line","fromName":"Andy Parkins","fromEmail":"andyparkins@gmail.com","sentAt":"2008-04-21T13:44:44Z","receivedAt":"2008-04-21T13:44:44Z","isPatch":true,"sender":{"key":"andyparkins@gmail.com","avatar":null},"body":"post-receive-email adds a signature to the end of emails in\ngenerate_email_footer().  The signature was separated from the main email\nbody using the standard string \"-- \". (see rfc3676)\n\nIn revision a6080a0a44d5, Junio's \"war on whitespace\" removed the trailing\nwhitespace from \"-- \", leaving it as \"--\", which is not a correct\nsignature separator.\n\nThis patch restores the missing space, but does it in a way that will\nnot set off the trailing whitespace alarms.\n\nSigned-off-by: Andy Parkins <andyparkins@gmail.com>\n---\n contrib/hooks/post-receive-email |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)\n\ndiff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email\nindex 62a740c..4136895 100644\n--- a/contrib/hooks/post-receive-email\n+++ b/contrib/hooks/post-receive-email\n@@ -202,11 +202,12 @@ generate_email_header()\n \n generate_email_footer()\n {\n+\tSPACE=\" \"\n \tcat <<-EOF\n \n \n \thooks/post-receive\n-\t--\n+\t--${SPACE}\n \t$projectdesc\n \tEOF\n }\n-- \n1.5.5.29.g7134\n"}]}