generating format-patch options from an e-mail
- From
Simon Oosthoek <s.oosthoek@xs4all.nl>
- Date
- Dec 26, 2012, 20:06 UTC
- Message-ID
- <20121226200623.GA29446@simaj.xs4all.nl>
Hi all
I've been very frustrated by the process to setup a commandline for git format-patch, to include everyone in the cc list and reply to the right message-id.
In my frustration I created a perl script to generate the options from a saved e-mail, I realise that it may be non-general and perhaps it could be written better using a module which understands e-mails, but well, it worked for me ;-)
Anyway, I could imagine this as optional flag of git format-patch, so you could say: $ git format-patch -s --in-reply-to-email <mboxfile> a7fe7de8
But I'll save that as an exercise for the reader (or the future)
Cheers
Simon