{"thread":{"id":"26404","subject":"[FEATURE REQUEST] - extend git request-pull to send email","startedAt":"2011-02-03T22:35:20Z","lastAt":"2011-02-03T23:34:14Z","messageCount":5,"participants":["Eugene Sajine","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"160359","messageId":"AANLkTi=kXJF_rYGMyh1gj49J7fh-ZxD7Bo8o_ELHb-2M@mail.gmail.com","threadId":"26404","inReplyTo":null,"subject":"[FEATURE REQUEST] - extend git request-pull to send email","fromName":"Eugene Sajine","fromEmail":"euguess@gmail.com","sentAt":"2011-02-03T22:35:20Z","receivedAt":"2011-02-03T22:35:20Z","isPatch":false,"sender":{"key":"euguess@gmail.com","avatar":null},"body":"Hi,\n\nThe command \"git request-pull\" doesn't actually request anything but\njust outputs a nice report about pending changes.\nI would suggest to extend \"git request-pull\" to be able to send email\nwith the information generated by the command using \"git send-mail\"\nfunctionality. By default it could take some values from the\nenvironment, like the sender information, the subject and of course\nthe body of the message.\n\nSpecifying the \"--to user@server.com\" could be a trigger for this functionality.\nAll additional parameters from git send-mail should be available.\n\nWhat do you think?\n\n\nThanks,\nEugene\n"},{"id":"160360","messageId":"7vpqr8zpux.fsf@alter.siamese.dyndns.org","threadId":"26404","inReplyTo":"AANLkTi=kXJF_rYGMyh1gj49J7fh-ZxD7Bo8o_ELHb-2M@mail.gmail.com","subject":"Re: [FEATURE REQUEST] - extend git request-pull to send email","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2011-02-03T22:59:34Z","receivedAt":"2011-02-03T22:59:34Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Eugene Sajine <euguess@gmail.com> writes:\n\n> Specifying the \"--to user@server.com\" could be a trigger for this functionality.\n> All additional parameters from git send-mail should be available.\n>\n> What do you think?\n\nHorrible ;-).\n\nIf this were not about request-pull but some other command that produces a\nsummary of recent changes you have, which you might want to distribute to\npeople who are involved in the project (e.g. Meta/cook), it might make\nsense to have \"generate and then e-mail\" feature inside the command,\nbecause such a command needs to inspect the history and grab various kinds\nof information anyway, and adding \"people involved\" to the mix might make\nsense.\n\nBut you are talking about request-pull, which is by design is meant to be\nsent to a single recipient.  If the user has to say --to user@example.com,\nhow is it different from piping the output to \"| mail to@example.com\"?\n"},{"id":"160361","messageId":"7vlj1wzpiq.fsf@alter.siamese.dyndns.org","threadId":"26404","inReplyTo":"7vpqr8zpux.fsf@alter.siamese.dyndns.org","subject":"Re: [FEATURE REQUEST] - extend git request-pull to send email","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2011-02-03T23:06:53Z","receivedAt":"2011-02-03T23:06:53Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Junio C Hamano <gitster@pobox.com> writes:\n\n>> What do you think?\n>\n> Horrible ;-).\n\nJust a quick note.\n\nPlease take this with a huge grain of salt, considering that the comment\nis coming from somebody who thinks --compose and format-patch integration\nto git-send-email was also a bad idea.\n"},{"id":"160363","messageId":"AANLkTikmOvCXqcCSvOgyxVoh8Gvk1KOhcLng68PvdVwy@mail.gmail.com","threadId":"26404","inReplyTo":"7vlj1wzpiq.fsf@alter.siamese.dyndns.org","subject":"Re: [FEATURE REQUEST] - extend git request-pull to send email","fromName":"Eugene Sajine","fromEmail":"euguess@gmail.com","sentAt":"2011-02-03T23:30:57Z","receivedAt":"2011-02-03T23:30:57Z","isPatch":false,"sender":{"key":"euguess@gmail.com","avatar":null},"body":"On Thu, Feb 3, 2011 at 6:06 PM, Junio C Hamano <gitster@pobox.com> wrote:\n> Junio C Hamano <gitster@pobox.com> writes:\n>\n>>> What do you think?\n>>\n>> Horrible ;-).\n>\n> Just a quick note.\n>\n> Please take this with a huge grain of salt, considering that the comment\n> is coming from somebody who thinks --compose and format-patch integration\n> to git-send-email was also a bad idea.\n>\n\n;) Anyway thanks for prompt answer;))\n\nWell, it is of course pretty cool that you can pipe the output to mail\nbut there are at least three problems that i currently see with this:\n\n1. it is not cross-platform solution\n2. By default subject gets empty;)\n3. I probably would like the from address to be the one that I'm using\nin git configuration...\n\nThanks,\nEugene\n"},{"id":"160365","messageId":"AANLkTikg2owo4BNW2XyE46Y5tZVyFbK_TiZZEpNRhU32@mail.gmail.com","threadId":"26404","inReplyTo":"AANLkTikmOvCXqcCSvOgyxVoh8Gvk1KOhcLng68PvdVwy@mail.gmail.com","subject":"Re: [FEATURE REQUEST] - extend git request-pull to send email","fromName":"Eugene Sajine","fromEmail":"euguess@gmail.com","sentAt":"2011-02-03T23:34:14Z","receivedAt":"2011-02-03T23:34:14Z","isPatch":false,"sender":{"key":"euguess@gmail.com","avatar":null},"body":"> 3. I probably would like the from address to be the one that I'm using\n> in git configuration...\n\nIt probably should be the reply-to....\n\n\n Thanks,\n Eugene\n"}]}