generating format-patch options from an e-mail

2012-12-26 Thread Simon Oosthoek
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

generating format-patch options from an e-mail

2012-12-26 Thread Simon Oosthoek
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

Re: generating format-patch options from an e-mail

2012-12-26 Thread Junio C Hamano
Simon Oosthoek s.oosth...@xs4all.nl writes: 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

Re: generating format-patch options from an e-mail

2012-12-26 Thread Simon Oosthoek
* Junio C Hamano gits...@pobox.com [2012-12-26 12:35:28 -0800]: 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) I think

RE: generating format-patch options from an e-mail

2012-12-26 Thread Pyeron, Jason J CTR (US)
-Original Message- From: Simon Oosthoek Sent: Wednesday, December 26, 2012 4:08 PM * Junio C Hamano gits...@pobox.com [2012-12-26 12:35:28 -0800]: Anyway, I could imagine this as optional flag of git format-patch, so you could say: $ git format-patch -s --in-reply-to-email

Re: generating format-patch options from an e-mail

2012-12-26 Thread Jeff King
On Wed, Dec 26, 2012 at 09:31:46PM +, Pyeron, Jason J CTR (US) wrote: That would work for the message-ID, but not for the various To: and Cc: addresses. The hacky script that I sent afterwards produces a string with the Nit, it does not make use of the reply-to header if present.