On Sat, Feb 13, 2016 at 11:10:40PM +0100, Ricardo Wurmus wrote: > > Pjotr Prins <pjotr.publi...@thebird.nl> writes: > > > Anyone know how to reating the In-Reply-To field when using formail? > > > > cat mail.patch|formail -s mail -t -f -I "In-Reply-To: > > <20160213102825.GA19194@debian>" > > Ignoring header field "Date: Sat, 13 Feb 2016 18:07:31 +0100" > > Ignoring header field "In-Reply-To: <20160213102825.GA19194@debian>" > > > > How you you keep patches on the same thread? > > I haven’t used “formail” before, but when generating emails with an > external programme I usually don’t allow it to send the email directly. > Instead I load it up in Emacs message-mode and manually add an > In-Reply-To header.
Another option for organizing patches is to use the '--thread=' argument to git-format-patch and git-send-email. I use '--thread=shallow'.