Re: [PATCH] Add 'git format-patch --to=' option and 'format.to' configuration variable.
- From
- Steven Drake <sdrake@xnet.co.nz>
- Date
- Feb 17, 2010, 07:33 UTC
- Message-ID
- <alpine.LNX.2.00.1002171706290.5479@vqena.qenxr.bet.am>
- In-Reply-To
- <7vhbpgfrqj.fsf@alter.siamese.dyndns.org>
On Tue, 16 Feb 2010, Junio C Hamano wrote:
> I tried to ask you (apparently in a garbled grammar, sorry) what > your workflow of sending the format-patch output to the outside world is.
$ ./git-format-patch --stdout master~5..master~1 >>~/mail/postponed-msgs $ alpine -I cp
Only problem with doing that is that alpine changes the Date: and Message-Id: header (the later being a pain if I used --threaded).
I don't know about other MUA (or how Daniel or Miklos work) but someone could use a command like:
$ git-format-patch --stdout master~5..master~1 | sendmail -bm -t
But in all honesty I don't think it matters whether the headers are set by format-patch or send-email and I would understand if you wanted to deprecate '--cc' from format-patch and 'format.cc' (maybe keep it for backwards compat).
-- Steven