{"thread":{"id":"10059","subject":"[PATCH] post-receive-hook: Remove the From field from the generated email header so that the pusher's name is used","startedAt":"2007-09-28T14:24:26Z","lastAt":"2007-09-28T14:24:26Z","messageCount":1,"participants":["Andy Parkins"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"54270","messageId":"200709281524.26816.andyparkins@gmail.com","threadId":"10059","inReplyTo":null,"subject":"[PATCH] post-receive-hook: Remove the From field from the generated email header so that the pusher's name is used","fromName":"Andy Parkins","fromEmail":"andyparkins@gmail.com","sentAt":"2007-09-28T14:24:26Z","receivedAt":"2007-09-28T14:24:26Z","isPatch":true,"sender":{"key":"andyparkins@gmail.com","avatar":null},"body":"Using the name of the committer of the revision at the tip of the\nupdated ref is not sensible.  That information is available in the email\nitself should it be wanted, and by supplying a \"From\", we were\neffectively hiding the person who performed the push - which is useful\ninformation in itself.\n\nSigned-off-by: Andy Parkins <andyparkins@gmail.com>\n---\n contrib/hooks/post-receive-email |    1 -\n 1 files changed, 0 insertions(+), 1 deletions(-)\n\ndiff --git a/contrib/hooks/post-receive-email b/contrib/hooks/post-receive-email\nindex 1f88099..cbbd02f 100644\n--- a/contrib/hooks/post-receive-email\n+++ b/contrib/hooks/post-receive-email\n@@ -177,7 +177,6 @@ generate_email_header()\n \t# --- Email (all stdout will be the email)\n \t# Generate header\n \tcat <<-EOF\n-\tFrom: $committer\n \tTo: $recipients\n \tSubject: ${EMAILPREFIX}$projectdesc $refname_type, $short_refname, ${change_type}d. $describe\n \tX-Git-Refname: $refname\n-- \n1.5.3.2.105.gf47f2-dirty\n"}]}