{"thread":{"id":"48234","subject":"Git send-email not sending email patches as subsequent replies","startedAt":"2018-04-06T19:28:12Z","lastAt":"2018-04-08T02:48:20Z","messageCount":3,"participants":["David Davis","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"343992","messageId":"CANqAOmsZxpbkT3YFcZTOeRx2gnxnzc+_C-amVQjKSE=0m7_n7w@mail.gmail.com","threadId":"48234","inReplyTo":null,"subject":"Git send-email not sending email patches as subsequent replies","fromName":"David Davis","fromEmail":"davidjamesdavis.djd@gmail.com","sentAt":"2018-04-06T19:28:06Z","receivedAt":"2018-04-06T19:28:12Z","isPatch":false,"sender":{"key":"davidjamesdavis.djd@gmail.com","avatar":null},"body":"Hello, I have the following git send-email command:\n\ngit send-email -5 --quiet --thread --no-chain-reply-to --compose\n--subject='Recent Base Prototype Changes Summary'\n--to=davisdavid@google.com --from=davisdavid@google.com\n\nIt's sending emails but as 5 individual emails and not as subsequent\nreplies as suggested on https://git-scm.com/docs/git-send-email below:\n\nSo for example when --thread and --no-chain-reply-to are specified,\nthe second and subsequent patches will be replies to the first one\nlike in the illustration below where [PATCH v2 0/3] is in reply to\n[PATCH 0/2]:\n\n[PATCH 0/2] Here is what I did...\n  [PATCH 1/2] Clean up and tests\n  [PATCH 2/2] Implementation\n  [PATCH v2 0/3] Here is a reroll\n    [PATCH v2 1/3] Clean up\n    [PATCH v2 2/3] New tests\n    [PATCH v2 3/3] Implementation\n\nWhat am I missing?\n\nThanks,\nDavid\n"},{"id":"344079","messageId":"20180407230848.GA5048@80x24.org","threadId":"48234","inReplyTo":"CANqAOmsZxpbkT3YFcZTOeRx2gnxnzc+_C-amVQjKSE=0m7_n7w@mail.gmail.com","subject":"Re: Git send-email not sending email patches as subsequent replies","fromName":"Eric Wong","fromEmail":"e@80x24.org","sentAt":"2018-04-07T23:08:48Z","receivedAt":"2018-04-07T23:08:53Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"David Davis <davidjamesdavis.djd@gmail.com> wrote:\n> Hello, I have the following git send-email command:\n> \n> git send-email -5 --quiet --thread --no-chain-reply-to --compose\n> --subject='Recent Base Prototype Changes Summary'\n> --to=davisdavid@google.com --from=davisdavid@google.com\n> \n> It's sending emails but as 5 individual emails and not as subsequent\n> replies as suggested on https://git-scm.com/docs/git-send-email below:\n\nSo, I expect the above command should give you six emails:\n\n  [PATCH 0/5] Recent Base Prototype Changes Summary\n    [PATCH 1/5]\n    [PATCH 2/5]\n    [PATCH 3/5]\n    [PATCH 4/5]\n    [PATCH 5/5]\n\nIs that not what you're seeing?\n\nYou're quoting the manpage for --in-reply-to option below,\nbut you're not using that option.\n\n> So for example when --thread and --no-chain-reply-to are specified,\n> the second and subsequent patches will be replies to the first one\n> like in the illustration below where [PATCH v2 0/3] is in reply to\n> [PATCH 0/2]:\n> \n> [PATCH 0/2] Here is what I did...\n>   [PATCH 1/2] Clean up and tests\n>   [PATCH 2/2] Implementation\n>   [PATCH v2 0/3] Here is a reroll\n>     [PATCH v2 1/3] Clean up\n>     [PATCH v2 2/3] New tests\n>     [PATCH v2 3/3] Implementation\n> \n> What am I missing?\n\nI'm not sure...  I suspect you're either not using --in-reply-to=\nor misreading the manpage, somehow.\n"},{"id":"344085","messageId":"20180408024749.GA19319@whir","threadId":"48234","inReplyTo":"CANqAOmvjiiBQs4GHrFbBBXygwVEsCkH7ceSsFKFpmvscKCWrGg@mail.gmail.com","subject":"Re: Git send-email not sending email patches as subsequent replies","fromName":"Eric Wong","fromEmail":"e@80x24.org","sentAt":"2018-04-08T02:47:49Z","receivedAt":"2018-04-08T02:48:20Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"David Davis <davidjamesdavis.djd@gmail.com> wrote:\n> I'm seeing 6 individual emails, how do I just see one email followed by 5\n> email replies to the one? I don't want six individual emails.\n\nThe five email replies you want are still individual emails.\nEmails are ALWAYS \"individual\", and reply emails simply have a\nReferences: and/or In-Reply-To: header in them.\n\nWhether your mail client shows them as individual mails is\nanother story.  I also suspect whatever mail client you're using\nisn't rendering thread hierarchies correctly.\n\nMost good mail clients use the same algorithm to display message\nthreads since the days of Netscape:\n\n\thttps://www.jwz.org/doc/threading.html\n\nI've also modified that algorithm to be recursion-free for public-inbox:\n\n\thttps://rt.cpan.org/Public/Bug/Display.html?id=116727\n\n\nBtw, please disable HTML mail in your mail client or it won't\nshow up on the list (and other people won't be able to help).\nI may not be around much for a bit.\n"}]}