{"thread":{"id":"17873","subject":"post-receive email","startedAt":"2009-02-18T12:44:55Z","lastAt":"2009-02-18T13:36:19Z","messageCount":2,"participants":["Arya, Manish Kumar","Patrick Notz"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"105295","messageId":"556409.61398.qm@web35708.mail.mud.yahoo.com","threadId":"17873","inReplyTo":null,"subject":"post-receive email","fromName":"Arya, Manish Kumar","fromEmail":"m.arya@yahoo.com","sentAt":"2009-02-18T12:44:55Z","receivedAt":"2009-02-18T12:44:55Z","isPatch":false,"sender":{"key":"m.arya@yahoo.com","avatar":null},"body":"Hi,\n\n  I am using git 1.6.1\n\nI have configured post-receive hook for sending emails on remote push activity.\n\nBut I am getting this error while push. any one using this script for email. can you suggest some other working script for this ?\n\n----------------------------------\nCounting objects: 5, done.\nCompressing objects: 100% (3/3)   Compressing objects: 100% (3/3), done.\nWriting objects: 100% (3/3)   Writing objects: 100% (3/3), 344 bytes, done.\nTotal 3 (delta 1), reused 0 (delta 0)\nhooks/post-receive: syntax error at line 73: `oldrev=$' unexpected\nerror: hooks/post-receive exited with error code 2\nPushing to ssh://xxx.xxx.xxx.net/opt/repos/mka.git\nTo ssh://xxx.xxx.xxx.net/opt/repos/mka.git\n   db4b382..186b0af  master -> master\n-----------------------------------\n\n\n      \n"},{"id":"105305","messageId":"1cd1989b0902180536o48a216edu3b835f3ce9b704c4@mail.gmail.com","threadId":"17873","inReplyTo":"556409.61398.qm@web35708.mail.mud.yahoo.com","subject":"Re: post-receive email","fromName":"Patrick Notz","fromEmail":"patnotz@gmail.com","sentAt":"2009-02-18T13:36:19Z","receivedAt":"2009-02-18T13:36:19Z","isPatch":false,"sender":{"key":"patnotz@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45364?v=4"},"body":"On Wed, Feb 18, 2009 at 5:44 AM, Arya, Manish Kumar <m.arya@yahoo.com> wrote:\n>\n> Hi,\n>\n>  I am using git 1.6.1\n>\n> I have configured post-receive hook for sending emails on remote push activity.\n\nAre you using the example contrib/hooks/post-receive-email that comes with Git?\n\n>\n> But I am getting this error while push. any one using this script for email. can you suggest some other working script for this ?\n>\n> ----------------------------------\n> Counting objects: 5, done.\n> Compressing objects: 100% (3/3)   Compressing objects: 100% (3/3), done.\n> Writing objects: 100% (3/3)   Writing objects: 100% (3/3), 344 bytes, done.\n> Total 3 (delta 1), reused 0 (delta 0)\n> hooks/post-receive: syntax error at line 73: `oldrev=$' unexpected\n> error: hooks/post-receive exited with error code 2\n> Pushing to ssh://xxx.xxx.xxx.net/opt/repos/mka.git\n> To ssh://xxx.xxx.xxx.net/opt/repos/mka.git\n>   db4b382..186b0af  master -> master\n> -----------------------------------\n>\n>\n>\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n"}]}