{"thread":{"id":"43053","subject":"Can cc's be included in patches sent by send-email","startedAt":"2016-08-11T07:32:33Z","lastAt":"2016-08-11T19:11:48Z","messageCount":7,"participants":["Philip Oakley","Jacob Keller","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"293694","messageId":"D8F2D8316A4C4E198C6847C1165A8811@PhilipOakley","threadId":"43053","inReplyTo":null,"subject":"Can cc's be included in patches sent by send-email","fromName":"Philip Oakley","fromEmail":"philipoakley@iee.org","sentAt":"2016-08-11T07:32:08Z","receivedAt":"2016-08-11T07:32:33Z","isPatch":false,"sender":{"key":"philipoakley@iee.email","avatar":"https://avatars.githubusercontent.com/u/914343?v=4"},"body":"While 'git send-email' can have multiple --cc=\"addressee\" options on the \ncommand line, is it possible for the \"cc:addressee<a@b.c>\" to actually be \nincluded in the patches that are to be sent, so that different patches can \nhave different addressee?\n\nThe fortmat-patch can include appropriate from lines, so it feels as if the \nsender should be able to add cc: lines at the same place. Maybe its just \npart of th docs I've missed.\n\nThis is for the workflow where the patch series (including cover letter) is \nreviewed before send-email is invoked to send to all adressees.\n\n--\nPhilip \n\n"},{"id":"293696","messageId":"CA+P7+xpyCQLsEHE-Hqqob5mQisW=aw1gC+5f6Qq3q01etjX2Ng@mail.gmail.com","threadId":"43053","inReplyTo":"D8F2D8316A4C4E198C6847C1165A8811@PhilipOakley","subject":"Re: Can cc's be included in patches sent by send-email","fromName":"Jacob Keller","fromEmail":"jacob.keller@gmail.com","sentAt":"2016-08-11T07:58:28Z","receivedAt":"2016-08-11T07:58:53Z","isPatch":false,"sender":{"key":"jacob.keller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/874719?v=4"},"body":"On Thu, Aug 11, 2016 at 12:32 AM, Philip Oakley <philipoakley@iee.org> wrote:\n> While 'git send-email' can have multiple --cc=\"addressee\" options on the\n> command line, is it possible for the \"cc:addressee<a@b.c>\" to actually be\n> included in the patches that are to be sent, so that different patches can\n> have different addressee?\n>\n> The fortmat-patch can include appropriate from lines, so it feels as if the\n> sender should be able to add cc: lines at the same place. Maybe its just\n> part of th docs I've missed.\n>\n\nYes, just put them in the body as tags below the signed-off-by. It\nshould be on by default unless you change supresscc or signedoffbycc\nconfiguration.\n\nThanks,\nJake\n\n> This is for the workflow where the patch series (including cover letter) is\n> reviewed before send-email is invoked to send to all adressees.\n>\n> --\n> Philip\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"},{"id":"293697","messageId":"CA+P7+xrBegRdS-HXi2SfO0Uu6N=gUVVp_F29GCb1rQn9cnxnHQ@mail.gmail.com","threadId":"43053","inReplyTo":"CA+P7+xpyCQLsEHE-Hqqob5mQisW=aw1gC+5f6Qq3q01etjX2Ng@mail.gmail.com","subject":"Re: Can cc's be included in patches sent by send-email","fromName":"Jacob Keller","fromEmail":"jacob.keller@gmail.com","sentAt":"2016-08-11T07:59:08Z","receivedAt":"2016-08-11T07:59:33Z","isPatch":false,"sender":{"key":"jacob.keller@gmail.com","avatar":"https://avatars.githubusercontent.com/u/874719?v=4"},"body":"On Thu, Aug 11, 2016 at 12:58 AM, Jacob Keller <jacob.keller@gmail.com> wrote:\n> On Thu, Aug 11, 2016 at 12:32 AM, Philip Oakley <philipoakley@iee.org> wrote:\n>> While 'git send-email' can have multiple --cc=\"addressee\" options on the\n>> command line, is it possible for the \"cc:addressee<a@b.c>\" to actually be\n>> included in the patches that are to be sent, so that different patches can\n>> have different addressee?\n>>\n>> The fortmat-patch can include appropriate from lines, so it feels as if the\n>> sender should be able to add cc: lines at the same place. Maybe its just\n>> part of th docs I've missed.\n>>\n>\n> Yes, just put them in the body as tags below the signed-off-by. It\n> should be on by default unless you change supresscc or signedoffbycc\n> configuration.\n>\n> Thanks,\n> Jake\n>\n\nSee --suppress-cc or --signed-off-by-cc help in git help send-email.\n\nThanks,\nJake\n"},{"id":"293771","messageId":"xmqq4m6r2npv.fsf@gitster.mtv.corp.google.com","threadId":"43053","inReplyTo":"CA+P7+xrBegRdS-HXi2SfO0Uu6N=gUVVp_F29GCb1rQn9cnxnHQ@mail.gmail.com","subject":"Re: Can cc's be included in patches sent by send-email","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2016-08-11T17:57:00Z","receivedAt":"2016-08-11T17:58:17Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Jacob Keller <jacob.keller@gmail.com> writes:\n\n> On Thu, Aug 11, 2016 at 12:58 AM, Jacob Keller <jacob.keller@gmail.com> wrote:\n>> On Thu, Aug 11, 2016 at 12:32 AM, Philip Oakley <philipoakley@iee.org> wrote:\n>>> While 'git send-email' can have multiple --cc=\"addressee\" options on the\n>>> command line, is it possible for the \"cc:addressee<a@b.c>\" to actually be\n>>> included in the patches that are to be sent, so that different patches can\n>>> have different addressee?\n>>>\n>>> The fortmat-patch can include appropriate from lines, so it feels as if the\n>>> sender should be able to add cc: lines at the same place. Maybe its just\n>>> part of th docs I've missed.\n>>>\n>>\n>> Yes, just put them in the body as tags below the signed-off-by. It\n>> should be on by default unless you change supresscc or signedoffbycc\n>> configuration.\n>>\n>> Thanks,\n>> Jake\n>>\n>\n> See --suppress-cc or --signed-off-by-cc help in git help send-email.\n\nAlso, those who do not want to see Cc: in headers (like me) can\ninstead edit the header part of the format-patch output to add Cc:\nlines and they should be picked up.\n"},{"id":"293772","messageId":"CAPc5daWZnSTR8EgTP899+_iDL5JTzi=CT7LkBFnu=Q8puepFFw@mail.gmail.com","threadId":"43053","inReplyTo":"xmqq4m6r2npv.fsf@gitster.mtv.corp.google.com","subject":"Re: Can cc's be included in patches sent by send-email","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2016-08-11T17:58:49Z","receivedAt":"2016-08-11T17:59:14Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"On Thu, Aug 11, 2016 at 10:57 AM, Junio C Hamano <gitster@pobox.com> wrote:\n>\n> Also, those who do not want to see Cc: in headers (like me) can\n\nStupid typo that ruins the whole message.  I meant \"in FOOTERS\".\n\n> instead edit the header part of the format-patch output to add Cc:\n> lines and they should be picked up.\n"},{"id":"293791","messageId":"4AF832719F594FF487BFEFBC9D289942@PhilipOakley","threadId":"43053","inReplyTo":"CA+P7+xrBegRdS-HXi2SfO0Uu6N=gUVVp_F29GCb1rQn9cnxnHQ@mail.gmail.com","subject":"Re: Can cc's be included in patches sent by send-email","fromName":"Philip Oakley","fromEmail":"philipoakley@iee.org","sentAt":"2016-08-11T18:57:46Z","receivedAt":"2016-08-11T18:57:54Z","isPatch":false,"sender":{"key":"philipoakley@iee.email","avatar":"https://avatars.githubusercontent.com/u/914343?v=4"},"body":"From: \"Jacob Keller\" <jacob.keller@gmail.com>\n> On Thu, Aug 11, 2016 at 12:58 AM, Jacob Keller <jacob.keller@gmail.com> \n> wrote:\n>> On Thu, Aug 11, 2016 at 12:32 AM, Philip Oakley <philipoakley@iee.org> \n>> wrote:\n>>> While 'git send-email' can have multiple --cc=\"addressee\" options on the\n>>> command line, is it possible for the \"cc:addressee<a@b.c>\" to actually \n>>> be\n>>> included in the patches that are to be sent, so that different patches \n>>> can\n>>> have different addressee?\n>>>\n>>> The fortmat-patch can include appropriate from lines, so it feels as if \n>>> the\n>>> sender should be able to add cc: lines at the same place. Maybe its just\n>>> part of th docs I've missed.\n>>>\n>>\n>> Yes, just put them in the body as tags below the signed-off-by. It\n>> should be on by default unless you change supresscc or signedoffbycc\n>> configuration.\n>>\n>> Thanks,\n>> Jake\n>>\n>\n> See --suppress-cc or --signed-off-by-cc help in git help send-email.\n>\n> Thanks,\n> Jake\n\nThanks,\nI'll look at that. It wasn't immediately obvious what to do.\n\nPhilip \n\n"},{"id":"293795","messageId":"75D9C1DBD21648F0B2511AA183C20CCD@PhilipOakley","threadId":"43053","inReplyTo":"xmqq4m6r2npv.fsf@gitster.mtv.corp.google.com","subject":"Re: Can cc's be included in patches sent by send-email","fromName":"Philip Oakley","fromEmail":"philipoakley@iee.org","sentAt":"2016-08-11T19:11:42Z","receivedAt":"2016-08-11T19:11:48Z","isPatch":false,"sender":{"key":"philipoakley@iee.email","avatar":"https://avatars.githubusercontent.com/u/914343?v=4"},"body":"From: \"Junio C Hamano\" <gitster@pobox.com>\n> Jacob Keller <jacob.keller@gmail.com> writes:\n>\n>> On Thu, Aug 11, 2016 at 12:58 AM, Jacob Keller <jacob.keller@gmail.com> \n>> wrote:\n>>> On Thu, Aug 11, 2016 at 12:32 AM, Philip Oakley <philipoakley@iee.org> \n>>> wrote:\n>>>> While 'git send-email' can have multiple --cc=\"addressee\" options on \n>>>> the\n>>>> command line, is it possible for the \"cc:addressee<a@b.c>\" to actually \n>>>> be\n>>>> included in the patches that are to be sent, so that different patches \n>>>> can\n>>>> have different addressee?\n>>>>\n>>>> The fortmat-patch can include appropriate from lines, so it feels as if \n>>>> the\n>>>> sender should be able to add cc: lines at the same place. Maybe its \n>>>> just\n>>>> part of th docs I've missed.\n>>>>\n>>>\n>>> Yes, just put them in the body as tags below the signed-off-by. It\n>>> should be on by default unless you change supresscc or signedoffbycc\n>>> configuration.\n>>>\n>>> Thanks,\n>>> Jake\n>>>\n>>\n>> See --suppress-cc or --signed-off-by-cc help in git help send-email.\n>\n> Also, those who do not want to see Cc: in headers (like me) can\n> instead edit the header part of the format-patch output to add Cc:\n> lines and they should be picked up.\n> --\nWhen done via git gui, it looks like the Cc: is also included in the commit \nmessage (first initial tries)\n\nI'd probably place them after a --- break so that they don't get into the \napplied commit message, but will carry around during my rebasing. I've still \nto test if it works though.\n\nPhilip \n\n"}]}